Wildcards in Query Text

You can use Wildcards in the Text parameter of the Query action.

You can use the Text action parameter to specify field restrictions for result documents, as long as the fields that you restrict results to are Index fields in the IDOL Content component. If you match fields, you can use Wildcards and match multiple fields simultaneously by separating them with colons.

Example Wildcard Queries

The following examples demonstrate how to use Wildcards in query text.

Example 1

action=Query&Text=Mi?rotech

This query returns documents that contain the term Mikrotech or Microtech.

Example 2

action=Query&Text="Co*ins":Name:Author+Arm?dale:Title

This query returns documents that contain a Name or Author field whose value matches the Wildcard string Co*ins (for example, Collins) and documents that contain a Title field whose value matches the Wildcard string Arm?dale (for example Armadale).

Example 3

Consider the following scenarios:

A. The IDOL Content component has two indexed documents. One document contains the word rollerskating, and the other contains the word rollerskaters (both of which stem to ROLLERSK).

B. The IDOL Content component has only one indexed document. It contains the word rollerskater (which also stems to ROLLERSK).


_HP_HTML5_bannerTitle.htm