IDOL Server 24.4
IDOL Server Help

# 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 Server 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 Server 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

Copyright 2024 Open Text
Version 24.4 | Last updated September 2024

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL Server 24.4

Topic Title: Exact Phrase Search