WebCenter Interaction API  
 

IPTSBooleanQuery.addSubquery Method (IPTSField, String, PTSTextQueryParseMode)

Add a text query as a child of this IPTSBooleanQuery. Convenience method that is equivalent to calling IPTSearchFactory.createTextQuery and then calling the IPTSQuery form of addSubquery.

void addSubquery(
   IPTSField stringField,
   string queryString,
   PTSTextQueryParseMode parseMode
);

Parameters

stringField
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

IPTSBooleanQuery Interface | com.plumtree.server.search Namespace | IPTSBooleanQuery.addSubquery Overload List