Boolean and Proximity Operators

Boolean and proximity operators can create a more precise query.

To Search For Example Results
Both terms in the same page access and basic
Or
access & basic
Pages with both the words access and basic
Either term in a page cgi or isapi
Or
cgi | isapi
Pages with the words cgi or isapi
The first term without the second term access and not basic
Or
access & ! basic
Pages with the word access but not basic
Pages not matching a property value not @size = 100
Or
! @size = 100
Pages that are not 100 bytes
Both terms in the same page, close together excel near project
Or
excel ~ project
Pages with the word excel near the word project

Hints:

Note   The symbols (&, |, !, ~) and the English keywords AND, OR, NOT, and NEAR work the same way in all languages supported by Index Server. Localized keywords are also available when the browser locale is set to one of the following six languages:

Language Keywords
German UND, ODER, NICHT, NAH
French ET, OU, SANS, PRES
Spanish Y, O, NO, CERCA
Dutch EN, OF, NIET, NABIJ
Swedish OCH, ELLER, INTE, NÄRA
Italian E, O, NO, VICINO

Note   The NEAR operator can be applied only to words or phrases.


© 1997 by Microsoft Corporation. All rights reserved.