IDOL Category Component 24.2

# FieldText

You must percent-encode all strings in `FieldText`.

You must distinguish punctuation in IDOL query syntax (such as commas and braces) from the same punctuation that might occur in strings. Use the following percent-encoding guidelines:

- percent-encode an ampersand (`&`) with `%26`

- percent-encode a backslash (`\`) with `%5C`

- percent-encode a comma (`,`) with `%2C`

- percent-encode a percentage sign (`%`) with `%25`

- To distinguish between braces in strings from query syntax braces, percent-encode left (`{`) and right (`}`) braces twice, with `%257B` and `%257D`.

- To distinguish between commas in strings from separator commas, percent-encode commas within strings twice (`%252C)`.

- Leave commas that separate multiple items, and braces that start and end lists, as regular punctuation. There must be no spaces before or after these commas.

Use the `STRING` field specifier to search for your entire query string, including the nonalphanumeric characters, in the appropriate field in the IDOL Content component.

## Examples

To search for Auto*:

    action=Query&Text=Auto&FieldText=STRING{Auto*}:DRECONTENT

To search for yahoo!:

    action=Query&Text=yahoo!&FieldText=STRING{yahoo!}:DRECONTENT

To search for AT&T:

    action=Query&Text=AT%26T&FieldText=STRING{AT%26T}:DRECONTENT

To search for "r-t"

    action=Query&Text=r-t&FieldText=STRING{r-t}:DRECONTENT

To search for "eat, drink and be merry"

    action=Query&Text=eat, drink and be merry&FieldText=STRING{eat%2c drink and be merry}:DRECONTENT

To search for "politics [and] their effects"

    action=Query&Text=politics and their effects&FieldText=STRING{politics [and] their effects}:DRECONTENT

To search for "*NSYNC"

    action=Query&Text=*NSYNC&IgnoreSpecials=True

Copyright 2024 Open Text
Version 24.2 | Last updated March 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 Category Component 24.2

Topic Title: FieldText