Content Component 25.2
Content Component Help

# Keyword Occurrence Search

You can restrict the documents that match a query term to documents in which the number of occurrences of the term or phrase is within a specified range. Specify the range with a colon-separated pair of numbers. The maximum value that you can specify in the range is `32000`.

For example:

    action=Query&Text=Gene[3:7]

This query returns only documents in which Gene appears between three and seven times (inclusively).

    action=Query&Text="Gene Therapy"[5:8]

This query returns only documents in which the phrase Gene therapy appears between five and eight times (inclusively).

    action=Query&Text=Gen*[2:4]

This query returns only documents in which a term that starts with Gen (such as Gene or Generation) appears between two and four times, inclusively.

    action=Query&Text=(Gene OR DNA)[4:8] AND Therapy

This query returns only documents in which the term Gene or the term DNA appear between 4 and 8 times (inclusively), and the term Therapy occurs.

You can specify open-ended ranges. For example:

    action=Query&Text=Gene[10:]

This query returns only documents in which Gene appears 10 or more times.

You can also specify term weights and field restrictions. For example:

    action=Query&Text=cat[2:4]:DRETITLE + AND + cat[100][2:4]

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 Content Component 25.2

Topic Title: Keyword Occurrence Search