Record search operator

A basic record search requires an Operator with a SearchOperator type.

The syntax for a search request is shown in this example:
<ns:Operator xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
   xmlns:ns="http://www.endeca.com/MDEX/conversation/1/0" xsi:type="ns:SearchOperator" 
   Within="false">
  <ns:SearchFilter Mode="AllPartial" RelevanceRankingStrategy="numfields" 
      Key="Description">Mountain</ns:SearchFilter>
</ns:Operator>
The text content of the SearchFilter element contains the search term(s). In the example, a record search is being made for the "spice flavors" keywords. The meanings of attributes for the SearchOperator and the SearchFilter element are as follows:
Search attribute Description
Within Optional. If set to false on the SearchOperator element, then the visible parts of the filter state are cleared first. The default value is false.
Key Required to be specified for the SearchFilter. Specifies which standard or managed attribute will be evaluated when searching. You specify an attribute as a value for this parameter. (You can also specify a search interface as a value.)
EnableSnippeting Optional. If set to true on the SearchFilter element, enables snippeting. If set to false, disables snippeting.
SnippetLength Optional. Specifies the length of the snippet for the SearchFilter.
Mode Optionally specifies a match mode for the SearchFilter. Cannot use Boolean match mode.
RelevanceRankingStrategy Optionally specifies a relevance ranking strategy for the SearchFilter.