IDOL View Component 24.4
IDOL View Component Help

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

Copyright 2024 Open Text
Version 24.4 | Last updated September 2024

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: IDOL IDOL View Component 24.4

Topic Title: Simple Field Restricted Search