IDOL Server 24.2

# Case-Sensitive Search

Case-sensitive search allows you to search for terms with a particular capitalization. To use case-sensitive search, you must set AdvancedCaseSearch to `True` in the configuration file.

To indicate that you want to match case for a term, prefix it with a tilde (~). For example:

    action=Query&Text=~Lovely

In this example, IDOL Content component stems the term `Lovely`, and matches case-sensitively. For example, it matches Love, Lovely, and Loved, but not lovely or LoVeLy.

For more information about case-sensitive searching, refer to IDOL Expert.

You can use also case-sensitive matching in combination with phrase search to match exact terms.

Word Match Example

    action=Query&Text="~Lovely"

Content matches the exact form of the term, including case. When it matches the query, Content returns only documents that contain the exact term that you specify in the query. The query `"~Lovely"` can return only documents that contain the word Lovely.

Phrase Match Example

    action=Query&Text="fresh and ~Lovely"

IDOL Server removes any stop words that the query contains (the example query above contains the stop word and), but it returns only documents that contain the phrase with the exact terms that you specify.

    action=Query&Text="fresh ~Lovely"

When it matches the query, Content returns only documents that contain a phrase that matches the phrase in the query string. The query `"fresh and ~Lovely"` can return only documents that contain a phrase that matches the phrase fresh Lovely (for example, fresh Lovely, fresh and Lovely, Fresh or Lovely, and so on).

For more information about phrase searches, see Exact Phrase Search.

## See Also

- Exact Phrase Search
- AdvancedCaseSearch configuration parameter

Copyright 2024 Open Text
Version 24.2 | Last updated March 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.2

Topic Title: Case-Sensitive Search