WebCenter Interaction API  
 

IPTSearchFactory.createTextQuery Method (IPTSField, String, PTSTextQueryParseMode)

Construct a text (string) query against the indicated field, using the indicated parse mode. queryString will be parsed according to the rules set by the parse mode (see class PTSTextQueryParseMode), in the language of the query's parent IPTSQueryRequest.

IPTSModifiableQuery createTextQuery(
   IPTSField field,
   string queryString,
   PTSTextQueryParseMode parseMode
);

Parameters

field
the field to search. Must be of type PTSFieldType.STRING. Use the field returned by IPTSSearchableCollection.TextQueryDefault to search the default set of fields.
queryString
the string to search for.
parseMode
mode in which to interpret queryString. See class PTSTextQueryParseMode.

See Also

IPTSearchFactory Interface | com.plumtree.server.search Namespace | IPTSearchFactory.createTextQuery Overload List