Searching with OracleTextSearch Metadata Wildcards

Managing Search Tools 7-9

7.1.5 Searching with OracleTextSearch

Performing a search with OracleTextSearch is generally the same except there are no visible changes in the Search: Expanded Form other than removal of Substring as a search operator option. The default search operator is CONTAINS. Substring-based queries still work. For details on performing searches, see Oracle Fusion Middleware Users Guide for Oracle Content Server. The following table describes the default search operators.

7.1.6 Metadata Wildcards

The following wildcards can be used in metadata search fields, even when using the Quick Search field. ■ An asterisk indicates zero or many alphanumeric characters. For example: – form matches form and formula – orm matches form and reform – form matches form, formula, reform, and performance Operator Description Example CONTAINS Finds content items with the specified whole word or phrase in the metadata field. This is available only for OracleTextSearch, or for Oracle Database and Microsoft SQL Server database with the optional DBSearchContainsOpSupport component enabled. When form is entered in the Title field, the search returns items with the word form in their title, but does not return items with the word performance or reform. MATCHES Finds items with the exact specified value in the metadata field. When address change form is entered in the Title field, the search returns items with the exact title of address change form. A query that uses the MATCHES operator on a nonoptimized field behaves the same as a query that uses the CONTAINS operator. For example, if the xDepartment field is not optimized, then the query xDepartment MATCHES Marketing behaves like xDepartment CONTAINS Marketing, returning hits on documents that have an xDepartment value of Marketing Services or Product Marketing. HAS WORD PREFIX Finds all content items with the specified word at the beginning of the metadata field. No wildcard character is placed before or after the specified value. When form is entered in the Title field, the search returns all items with the word form at the beginning of their title, but does not return an item whose title begins with the word performance or reform. 7-10 Oracle Fusion Middleware System Administrators Guide for Oracle Content Server ■ A question mark ? indicates one alphanumeric character. For example: – form? matches forms and form1, but not form or formal – ??form matches reform but not perform

7.1.7 Search Results with OracleTextSearch