View Component 25.1
View Component Help

# Exact Phrase Search

If you enable `AdvancedSearch` before you index content into the Content component, and submit a phrase in quotation marks, Content matches the phrase in its exact (unstemmed) form (this setting also switches Content to an advanced weighting algorithm that improves conceptual querying).

For example:

    action=Query&Text="fresh and lovely"

Content removes any stop words that the query contains (the example query above contains the stop word and) but matches only documents that contain the exact (unstemmed) form of the terms. It is as if the query were:

    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"` returns 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).

NOTE: During the exact phrase search process, Content 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`.

Copyright 2024 Open Text
Version 25.1 | Last updated January 2025

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: Knowledge Discovery View Component 25.1

Topic Title: Exact Phrase Search