Using EQL filters with record and value searches

Either or both of the EQL record filters can be used with a record search or a value search.

The DataSourceFilterString component is especially useful (for example, as a security filter) to restrict the searchable records for these types of searches.

This example uses the DataSourceFilter EQL filter with a record search filter:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Header/>
   <soapenv:Body>
      <Request xmlns="http://www.endeca.com/MDEX/conversation/3/0">
         <Language>en</Language>
         <State>
            <Name>JulyRpts</Name>
            <DataSourceFilter Id="MonthFltr">
                <filterString>FISCAL_MONTH_NAME = 'July'</filterString>
            </DataSourceFilter>
            <TextSearchFilter Key="PROD_CATEGORY" RelevanceRankingStrategy="numFields" 
              Mode="AllPartial" EnableSnippeting="false" Language="en">
              electronics
            </TextSearchFilter>
         </State>
         <RecordListConfig Id="Recs" MaxPages="30">
            <StateName>JulyRpts</StateName>
            <Column>PROD_CATEGORY</Column>
            <RecordsPerPage>5</RecordsPerPage>
         </RecordListConfig>
      </Request>
   </soapenv:Body>
</soapenv:Envelope>

The DataSourceFilter filter first limits all the searchable records to those from the fiscal month of July. Then the TextSearchFilter uses the PROD_CATEGORY attribute for its record search.