查询代码需要正确地解释每个全文查询词。
Each full-text query term needs to be interpreted correctly by your query code.
虽然保留最初的查询词数组不动,但是为每个词构建了正则表达式。
While leaving the original query words array intact, we build a regular expression for each word.
变音位匹配是根据查询词的语音发音生成关键字的算法方法。
Metaphone matching is an algorithmic method for generating keys based on the phonetic pronunciation of words.
对于每条用新行分隔的记录,系统将提取和检查字段是否匹配任何一个查询词。
For each of these newline-delimited records, the fields are extracted and checked for a match with any of the query words.
最后,如果查询词的中间有星号,则要求严格匹配查询词的开头和结尾。
Finally, if the query word has an asterisk in the middle, require the query word to match at the beginning and end.
对于查询中指定的每个查询词,检查包含查询词的结果和完全匹配查询词的结果。
For each word specified in the query, check for results that contain the word and results that are exact matches for the word.
清单10详细说明了在每个查询词中有多个星号的情况下需要遵循的步骤。
Listing 10 details the steps to follow if there is more than one asterisk per-query word.
针对LDAP数据的一项特殊修改是考虑将'('和')'作为查询词边界指示符。
One particular modification for the LDAP data is to consider '(' and') 'as word boundary indicators.
检查过所有查询词后,最终的记录将被处理并以适于进行联系人查找的简化格式显示给用户。
When all of the query words have been checked, the final records are processed and displayed to the user in a simplified format suitable for contact lookups.
如果存储库不支持这些类型的双重否定,那么这会影响如何将这个查询改写为存储库的查询词。
If your repository does not support these types of doubles negatives, then this can affect how you rephrase this query into your repository's terms.
例如,如果删除多次匹配查询词或多次匹配同一字段的功能,则记录中的分数分布将发生很大变化。
For example, if you remove the ability of a query word to match more than once, or more than once in the same field, the distribution of the scores within a record will change dramatically.
第一步是创建与每个查询词一致的正则表达式,只有在查询词包含通配符 * 时才需要修改。
The first step is to create a compatible regular expression out of each query word, although modification is only required if the word contains a wildcard character: *.
如果在查询准备期间启用了拼写纠正,那么响应对象会提供OmniFind对查询词提出的建议。
If you enable the spell correction function during the query preparation, the response object provides the Suggestions proposed by OmniFind for the query words.
与正则表达式一致的查询词就绪后,将在平面文件自身上执行第一个grep,然后再用Perl的grep改进结果。
With the regular expression-compatible words in place, the first grep is performed on the flat file itself, followed by a refining of the results with Perl's grep.
声明局部变量后,子例程将遍历每个指定查询词,搜索name或jobresponsibilities散列中的变音位匹配。
After the local variable declaration, the subroutine will make a pass through every query word specified searching for a metaphone match in the name or jobresponsibilities hashes.
用于更广泛查询的词表支持,它不但搜索特定的搜索词,还通过用户定义的关系搜索相关的词。
Thesaurus support for broader queries, by searching not only for a specific search term, but also for terms that are related to it with user-defined relations.
清单17显示了一种使用两个词的HQL查询来检索整个数据库的方法。
Listing 17 illustrates a way to retrieve the entire database using a two-word HQL query.
这个查询将匹配在“description”元素中包含“pattern”和“creamer”等词的文档。
The query will match documents that contain the terms "pattern" and "creamer," for example, in the "description" element.
查询包含一个或多个你希望在搜索结果列表中找到的词、数字或短语。
A query consists of one or more words, Numbers, or phrases that you hope you will find in the search results listings.
例如,tobe查询只包含了辅助词(高频词),因此它们将用于文档匹配,如清单13所示。
For example, a query for to be contains only filler terms (stop words), which are therefore used to select matches in the document, as shown in Listing 13.
query的子元素提供实际的查询关键词。
我用WordNet的所有同义词集组成了清单2所示的RDF表示,然后对结果数据库进行类似的单一查询。
I assembled an RDF representation such as that in Listing 2 from all the synsets in WordNet and performed a similar monolithic query of the resulting database.
该网站还声称可以通过增加或删除关键词,然后点击“更新”来修改查询结果。
According to the help section of Ambiently's web site, you should be able to modify the query displayed on the ambient page by adding or removing keywords and then clicking "update."
美国“名嘴”西蒙·考埃尔在主持《美国偶像》真人秀节目中评价一名歌手表现“平淡(insipid)”,之后,韦氏网站上这个词的查询率迅速上升。
After Simon Cowell, the acid-tongued host of the television show "American Idol," called one singer "insipid," Merriam-Webster noticed a dramatic spike in the number of lookups for the word.
你可以在搜索词的尾部加上字符 ~来进行模糊查询。
You can use the tilde character (~) at the end of a single search word to do a fuzzy search.
首先,查询字符串以关键词“xquery ”打头。
要查询只与这个词汇相匹配而不与词元相匹配的文档,需要给这个词汇加上双引号。
To retrieve only documents that match the term, but not those that match the lemmas, enclose the term in double quotes.
对于这些搜索表单,由一个数据库视图列出查询发起者、查询提交的日期和时间以及查询所包括的关键词。
A database view of these search forms is provided that lists the author of the query, the date and time the query was submitted and the keywords used in the query.
对于这些搜索表单,由一个数据库视图列出查询发起者、查询提交的日期和时间以及查询所包括的关键词。
A database view of these search forms is provided that lists the author of the query, the date and time the query was submitted and the keywords used in the query.
应用推荐