Open topic with navigation

# Exact Phrase Search

You can search for exact phrases rather than conceptual matches by putting quotation marks (`" "`) around a string of words.

For example:

    http://localhost:9000/action=Query&Text="world market"

When AdvancedSearch is set to `True` in the configuration file, this query matches the phrase exactly (that is, it matches the exact form of all the terms, rather than also matching similar terms that stems to the same value).

NOTE:

During the exact phrase search process, IDOL Content Component stems the terms, matches documents that contain the stem, and then finds occurrences that match your exact unstemmed form. This stemming step means that an exact phrase search might not match a document in a different language that contains the exact unstemmed term, because the stemming rules are different. To match these documents, you must use GenericStemming.

When AdvancedSearch is set to `False`, the query matches the stemmed terms, but they must still appear in the specified order and proximity. In both cases, IDOL Content Component removes any stop words from the query phrase, unless you also configureStopWordIndex.

To search for multiple strings, separate the individual strings with plus symbols or spaces and put quotation marks around each string.

For example:

    http://localhost:9000/action=Query&Text="birthday party" "gift wrap" "surprise guest"

NOTE:

To search for a string that contains a text symbol, you must use a FieldText query (see the FieldText action parameter).

## See Also

- Case-Sensitive Search

- AdvancedSearch configuration parameter

- StopWordIndex configuration parameter

© 2017 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send documentation feedback 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. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm