Open topic with navigation

# Exact Phrase and Proximity Searches

If you combine an exact phrase search for multiple phrases (in which you frame the individual phrases in quotation marks) with a proximity search, IDOL Server obeys the proximity rules while it processes the exact phrase search. To ensure that proximity operators tie to an entire phrase, enclose the phrases in brackets. For example:

    action=Query&Text=("Egyptian cats")+ NEAR2+("Phoenician sailors")

This query returns only documents in which a match of the phrase Egyptian cats is no further than two words away from a match of the phrase Phoenician sailors (after stemming and stopping).

    action=Query&Text=("Egyptian cats")+BEFORE+("Phoenician sailors")

This query returns only documents that match the phrase Egyptian cats and the phrase Phoenician sailors (after stemming and stopping). The phrase Egyptian cats must occur before the phrase Phoenician sailors.

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm