Open topic with navigation

# Simple Field Restricted Search

You can use simple field restrictions within a `Query` action `Text` parameter to return results that contain specific values in specific fields. You can also combine query text with a field restriction to increase the relevance of results that contain specific values in specific fields. For these field restrictions:

- you can use only fields that the IDOL Content component stores as `Index` fields.

- you can use Wildcards.

- you cannot match more than one value, or a value that contains spaces or punctuation.

- each individual field restriction must contain fewer than 512 characters.

Related Topics

- Set up the Field Index Process

## Example Queries

    action=Query&Text=cat:DRETITLE

This query returns only documents that contain the value cat in their `DRETITLE` field.

`action=Query&Text=cat dog:DRETITLE`

This query returns documents that contain the term cat in any field and the term dog in their `DRETITLE` field. Documents that contain either cat (in any field) or dog in their `DRETITLE` field also return, but with a lower relevance.

    action=Query&Text=cat:CREATURE:FAUNA dog:ANIMAL

This query returns only documents that contain the value cat in their `CREATURE` or `FAUNA` field and the value dog in their `ANIMAL` field. Documents that contain either cat in their `CREATURE` or `FAUNA` field or dog in their `ANIMAL` field also return, but with a lower relevance.

    action=Query&Text=engin*:Title

This query returns only documents whose title field contains the specified string (for example, engineer, engineering and so on). Note that Content expands Wildcards before it stems terms.

© 2018 EntIT Software LLC, a Micro Focus company | Send documentation feedback to Micro Focus Close Send documentation feedback 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 swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm