Full text search parameters are defined in the <From> element.
Here is an example of a full text search on the object name attribute. It defines a parameter named 'param' to pass the name string to the search conditions.
<SearchConditions
xmlns="http://www.teradp.com/schemas/GN4/1/SearchConditions.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
ObjectTypeName="folderObject">
<SearchNode xsi:type="FulltextNode" IsChangingSort="false">
<List xsi:type="SearchCondition" Path="[folderObject.name]"
Op="ExaleadAll" IsFulltext="true">
<From
xsi:type="VariableSearchNode"
Name="param"
Type="String"/>
</List>
</SearchNode>
</SearchConditions>
Assuming this search condition was loaded into the database from a file named search_fulltextObjectName, the search is called with a url something like this:
http://demo.teradp.com/GN4/do.ashx?Cmd=search&name=fulltextObjectName&pars=param:greenhouse
Attribute values found in the From element:
xsi:type |
Declaration that search will use a parameter: VariableSearchNode |
Name |
The name of the parameter. This name is used when the search is executed as pars=Name:Value |
Type |
The type of the parameter, that matches the type of attribute being searched. Allowed values are: String, Integer, DateTime, Float, Double, IdList |