View Component 25.2
View Component Help

# Keyword Search Examples

The word lovely stems to love. The following words also stem to love.

TIP: To determine the stem of a word, use the `TermGetInfo` action. To determine the words to which a stem expands, use the `TermExpand` action.

LOVE | LOVELY | LOVING
LOVED | LOVES | LOVINGLY
LOVELIES | LOVEST | LOVINGS

## Example 1 (Conceptual)

    action=Query&Text=Lovely

- Default matching

-     AdvancedSearch=True

-     AdvancedCaseSearch=True

Content matches this query conceptually, in the default configuration or when you set `AdvancedSearch` or `AdvancedCaseSearch` to `True`. The query word is neither in quotation marks nor prefixed with a tilde (~), so Content finds documents that contain words that have the same stem as lovely (ignoring their case).

Example matching words | Example nonmatching words
--- | ---
lovely | lover
love | lovelorn
loved | loveless
loving |

## Example 2 (Conceptual or Exact)

    action=Query&Text="Lovely"

- Default matching

  In the Content default configuration, Content ignores the quotation marks and matches the word conceptually. It finds documents that contain words that have the same stem as lovely (ignoring their case).

  Example matching words | Example nonmatching words
  --- | ---
  lovely | lover
  love | lovelorn
  loved | loveless
  loving |

- `AdvancedSearch=True` or `AdvancedCaseSearch=True`

  If you set `AdvancedSearch` or `AdvancedCaseSearch` to `True`, Content matches the exact form of the term, because the query word is in quotation marks. It finds only documents that contain the word lovely. Because the word is not prefixed with a tilde (~), Content ignores its case.

  Example matching words | Example nonmatching words
  --- | ---
  lovely | love
  | loved
  | loving
  | lover

## Example 3 (Conceptual)

    action=Query&Text=~Lovely

- Default matching

  In the default configuration, Content ignores the tilde (~) and matches the word conceptually. It finds documents that contain words that have the same stem as lovely (ignoring their case).

  Example matching words | Example nonmatching words
  --- | ---
  lovely | lover
  love | lovelorn
  loved | loveless
  loving |

-     AdvancedSearch=True

  If you set `AdvancedSearch` to `True`, Content ignores the tilde (~) and matches the word conceptually, because the query word is not in quotation marks. It finds documents that contain words that have the same stem as lovely (ignoring their case).

  Example matching words | Example nonmatching words
  --- | ---
  lovely | lover
  love | lovelorn
  loved | loveless
  loving |

-     AdvancedCaseSearch=True

  If you set `AdvancedCaseSearch` to `True`, Content matches conceptually and case-sensitively, because the query word is prefixed with a tilde (~) but not in quotation marks. It finds documents that contain words that have the same stem as Lovely.

  Example matching words | Example nonmatching words
  --- | ---
  Lovely | lovely
  Love | love
  Loved | loved
  Loving | loving

## Example 4 (Conceptual or Exact)

    action=Query&Text="~Lovely"

- Default matching

  In the default configuration, Content ignores the tilde (~) and the quotation marks, and matches the word conceptually. It finds documents that contain words that have the same stem as lovely (ignoring their case).

  Example matching words | Example nonmatching words
  --- | ---
  lovely | lover
  love | lovelorn
  loved | loveless
  loving |

- `AdvancedSearch=True`

  If you set `AdvancedSearch` to `True`, Content ignores the tilde (~) and matches the exact form of the term. It finds only documents that contain the word lovely (ignoring its case).

  Example matching words | Example nonmatching words
  --- | ---
  lovely | love
  Lovely | loved
  | loving

- `AdvancedCaseSearch=True`

  If you set `AdvancedCaseSearch` to `True`, Content matches it exactly and case-sensitively because the query word is prefixed with a tilde (~) and in quotation marks. It finds only documents that contain the word Lovely.

  Example matching words | Example nonmatching words
  --- | ---
  Lovely | lovely
  | love
  | loved
  | loving

Copyright 2025 Open Text
Version 25.2 | Last updated April 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.2

Topic Title: Keyword Search Examples