![]() |
|||||
|
|
|||||
| Contact yet2.com Customer Support | |||||
Search Command Reference
See Also:
Search Tips, Search FAQs, Search Basics, Search Problem-Solver
Complex Search Syntax
Search queries that use operators other than AND, OR, NOT, +, -, " (double-quotation marks), and parentheses () are part of the complex search syntax. You must precede complex search queries with VQL: and double-quote the search query. For example:
VQL:"[50] aniline, [10] textile, [80] \"dye technology\""
Note the double-quotes around the entire query and the backslashes that precede the double-quotes used within the query.
Summary: The yet2.com search engine can use a set of sophisticated commands that help you refine your search query.
Evidence Operators
Table 1. Evidence Operators
Command
Explanation
Example
SOUNDEX
Finds the word you enter, and one ore more words that "sound like" that word, or whose letter pattern is similar. Words must start with the same letter as the word you specify. Documents are not relevence-ranked unless you use the modifier <MANY>. See MANY.
<SOUNDEX> phenil
<MANY><SOUNDEX> phenil
Will not find "fenil."
STEM
Expands the search to find the word you enter and its variations. Don´t confuse <STEM> with <WILDCARD>. Not relevance-ranked unless you use the modifier <MANY>. See MANY.
<STEM> phenyl
<MANY><STEM> phenyl
You can force stemming by using single quotation marks:
´phenyl´
TYPO/N
Finds the word you enter and words that are similar. /N is a number that specifies the maximum number of errors between your search term and a matched term; 2 is the default value. Errors are calculated based on character insertion, deletion, or transposition. A query term specified with <TYPO/N> can have a maximum of 32 characters. Not supported for multi-byte character sets such as Kanji.
<TYPO/3>sweeping
Note: TYPO/N can take a substantial amount of time to execute because it must review all words and all variations on those words up to the maximum number of errors you specify.
WILDCARD
Matches WILDCARD characters in search strings. Certain characters also indicate WILDCARD. Not relevance-ranked unless you use the <MANY> modifier. See MANY. Don´t confuse <WILDCARD> with <STEM>. See STEM.
See Table 2 for examples.
WORD
Selects documents that include one or more instances of the specific word. Prevents stemming. Not relevance-ranked unless you use the <MANY> keyword. See MANY.
<WORD> pharmaceutical
<MANY><WORD> pharmaceutical
"pharmaceutical"
Double quotation-marks act to prevent stemming.
Proximity Operators
Proximity operators work on the relative location of specific words in the document.
Table 3. Proximity Operators
Command
Explanation
Example
NEAR
Selects documents where one search term is found close to another; the nearer, the higher the score.
satellite <NEAR> positioning
<NEAR> (satellite, positioning)NEAR/N
Selects documents with search terms within N number of words of each other, where N is between 1 and 1024. The closer, the higher the score. Specify 1000 or higher without commas.
See ORDER for more information on the ORDER modifier.
satellite <NEAR/10> positioning
<NEAR/10>(satellite, positioning)You can use <NEAR> with the <ORDER> modifier:
diver <ORDER><NEAR/20> kills <ORDER><NEAR/20> shark
Finds "diver kills shark" with the word in that order (and within 20 words of each other).
PARAGRAPH
Selects documents that contain two or more search terms within a single paragraph.
drug <PARAGRAPH> cancer treatment
drug <PARAGRAPH> (cancer, treatment)
PHRASE
Selects documents that contain the phrase you specify. A phrase is a grouping of two or more words that occur next to each other in a specific order.
aniline dye
(both words stemmed)"aniline dye"
(neither word stemmed)aniline <PHRASE> dye
(stemmed)<PHRASE> (aniline, dye)
(stemmed)<PHRASE> ("aniline, dye")
(not stemmed)SENTENCE
Selects the documents that contain all the search terms within the same sentence (even in a random order)
You can use <SENTENCE> with the <ORDER> modifier. See ORDER for more information.
electronic <SENTENCE> actuator
<SENTENCE> (electronic, actuator)
<ORDER><SENTENCE> (electronic, actuator)
finds words in that order in the sentence.Concept Operators
Concept operators combine the meaning of search elements to identify a concept in a document.
Modifiers
Modifiers are used in conjunction with operators to change the standard behavior.
Table 6. Modifier Syntax 2
Modifier
Valid Operators
Examples
NOT
all operators
author <CONTAINS/NOT> don
author <STARTS/NOT> xxxScore Operators
Score operators and natural language operators affect how the search engine calculates scores for retrieved documents and enables you to specify search criteria using natural language syntax.
Controlling Operator Precedence
Although search expressions are evaluated left-to-right, AND takes precedence over OR. For example, the search expression
a OR b AND c
finds documents that contain b and that contain c, or it finds documents that contain a.
You can change the interpretation by using parentheses:
(a OR b) AND c
finds documents that contain a or that contain b, and where either document also contains c.
When you nest parentheses, the parser starts with the innermost level. For example:
(a AND (b OR c)) OR d
first finds documents that contain b or c, and then where either document also contains a. Or, the expression finds documents that contain only d.
Prefix and Infix Notation
You can use prefix notation with any operators except Evidence operators (SOUNDEX, STEM, WILDCARD, and WORD). All operators can use infix notation (an example of infix notation is
a AND b).Delimiters
The search engine uses the following delimiters:
Special Characters
This is a list of special characters that you may need to precede with a backslash to use in your search.
Precede them with a backslash if thay are part of the keyword or phrase that you are searching for. You do not need to precede them with a backslash when you are using them as an operating part of a complex query. For example:
VQL:"<PRODUCT> ("phenyl", "pharmaceutical")"
This query uses angle brackets (< >), double quotation-marks ("), and a comma as an operating part of the query.
VQL:"<FREETEXT> ("John\´s reply was\,\"Hello.\"")"
This query uses an apostrophe, a comma, and double-quotes around the word "Hello," but they are not operating parts of the query -- they are parts of the string for which the query is searching.
Table 10. Entering special characters
To use this:
Type this:
"Hello"
\"Hello\"
John´s
John\´s
contains parentheses ( )
contains parentheses \( \)
|
yet2.com Inc. http://www.yet2.com Voice: +1-781-972-0600 Fax: +1-781-972-0601 sales@yet2.com support@yet2.com Copyright© 1999-2009, yet2.com Inc. All rights reserved. 119.01.30.04 |
||||||||