Help > Performing searches > Perceptive Enterprise Search Query Syntax > Positional operators

Positional operators

These operators specify the location of each of your search terms in relation to each other within a document.

PHRASE

To find words which occur next to each other as a phrase, just type the words as you would normally. In ISYS search syntax, there is no need to enclose phrases in quotes.

FAR FOLLOW

...

The retrieved documents must contain both terms, and the second term must follow the appearance of the first. The second term can be anywhere in the document as long as it occurs after the first.

CLOSE FOLLOW

..

The retrieved documents must contain both search terms occurring in pairs. That is, the second term must immediately follow the first if a document is to be retrieved, without a repeated occurrence of the first term. If the first term occurs multiple times before the second term, then it is the inner-most pair which is selected.

FIELDS

IN

The retrieved documents must contain the first term in a paragraph, beginning with the second term. If Named Sections have been created, a pop-up list may appear when you use this function. Select the desired Named Section from the list to add it to the search.
Example: SMITH IN AUTHOR.

FIELDS

CONTAINS

Similar to IN, it is best to use this operator when searching for multiple terms in a field. The retrieved documents must contain the latter term(s) in a paragraph, beginning with the first term. Example: AUTHOR CONTAINS SMITH OR JONES OR WILLIAMS.

PREFERRED FIELDS

ESPIN

The retrieved documents will contain the first search term specified, and it may or may not occur in a paragraph beginning with the second term. However, any instances where the first term does occur in the paragraph beginning with the second term will be considered more relevant. Example: SMITH ESPIN AUTHOR, finds Smith anywhere, but gives preference to those occurrences where Smith is the author.

LABEL

Retrieved documents must contain a paragraph beginning with the specified search term, for example LABEL ABSTRACT

FILENAME

Retrieved documents must contain the following subexpression occuring in the file name (and document file name indexing must be enabled in the index configuration). For example, FILENAME SHUTTLE.

IN PARAS

\\

Both search terms must occur within the specified number of paragraphs of each other. Placing a number between the lines indicates the number of paragraphs separating each term.

  • No number between the \\ means the paragraphs must be consecutive.

  • Single number (e.g. \5\). Search terms must occur within 5 paragraphs of each other.

  • Number separated by comma (e.g. \5,10\). The second search term must appear within 5 to 10 paragraphs of the first.

  • Negative numbers (e.g. \-5, +10\) indicate the paragraphs may begin before the appearance of the term. That is, the second term may appear up to 5 paragraphs before and up to 10 after the first.

NEAR BY

//

Both search terms must appear within the same paragraph. The order of appearance within the paragraph is not relevant. Placing a number between the lines indicates the number of words separating phrases.

  • Single number (e.g. /5/) (this can also be written as W/5). The two search terms must appear within five words of each other. Order of appearance is not relevant.

  • Number separated by comma (e.g. /5,10/). The search terms must appear in no fewer than 5 words and no more than 10 words of each other.

  • Negative numbers (e.g. /-5, +10/). The search terms may appear from 5 words before to 10 words after each other.

Metadata

METAONLY

The following sub-expression may only occur within the metadata portion of the document, for example "CAT AND METAONLY (DOG OR LION)". Searching only within metadata not only provides for highly accurate queries, but can also provide substantial performance benefit if the search term has many undesired occurrences in the non-meta portion of the document.

Non-Metadata

BODYONLY

Similar to METAONLY, but the following sub-expression must not occur in the metadata.