Open topic with navigation

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

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm