Two EQL operators allow you to make less-than and greater-than range filter queries.
Note that both operators are inclusive, so that records that are equal to the specified boundary value will be returned.
<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>de</Language> <State> <DataSourceFilter Id="DataFlt"> <filterString>FISCAL_YEAR = 2002</filterString> </DataSourceFilter> <SelectionFilter Id="GtFlt"> <filterString>AMOUNT_SOLD > 500</filterString> </SelectionFilter> </State> <RecordListConfig Id="RecList MaxPages="20"> <RecordsPerPage>5</RecordsPerPage> </RecordListConfig> </Request> </soapenv:Body> </soapenv:Envelope>
This example first filters out all records except those from fiscal year 2002, and then returns all records that have sold 500 or more items.
An example of a less-than query would be the same except for the use of the < (less-than) operator.
<SelectionFilter Id="SalesFlt"> <filterString>SOME i IN AnnualRevenue SATISFIES (i > 150000)</filterString> </SelectionFilter>
This example returns every record in which an AnnualRevenue assignment is greater than 150000.