To enable text searches in a form handler, you set the following properties:

The search string is specified by the textInput property, typically entered by the user through a form input field.

You configure text searching with the following properties:

Required Text Search Properties

Property

Description

doTextSearch

Set to true in order to enable this component to handle text searches. A text search compares the user-supplied value to a property value that is identified in textSearchPropertyNames.

textSearchPropertyNames

Properties in the itemTypes property to be searched text intended as search criteria. If this property is empty, all properties are searched in the item types identified by the itemTypes property (see Basic SearchFormHandler Properties).

Set this property as follows:

item-type.property-name

Optional Text Search Properties

Property

Description

allowWildcards

Determines whether a query can include the wildcard symbol (*). A wildcard can replace any set of characters in a search string.

Default: true

searchStringFormat

Format that the text should follow. Each repository component uses this property to specify the text format available to the database. If not set, the form handler uses the default format.

Available options include:

ORACLE_CONTEXT: Oracle ConText

MSSQL_TSQ: Microsoft SQL Server

DBS_TEXT_EXT: IBM DB2 with the Text Extender package

textInput

List of strings that are always used in a search. If no keywords are specified for this property, search strings must be supplied by the user.