You request phrase matching in the Conversation Web Service requests by enclosing a set of one or more search terms in quotation marks.
You can include phrase search queries in either record search or value search operations. You can combine phrase search with non-phrase search terms or other phrase terms.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.endeca.com/MDEX/conversation/2/0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:typ="http://www.endeca.com/MDEX/lql_parser/types"> <soapenv:Header/> <soapenv:Body> <ns:Request> <ns:State/> <ns:Operator xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns="http://www.endeca.com/MDEX/conversation/2/0" xsi:type="ns:SearchOperator"> <ns:SearchFilter Key="MySearchInterface">"Mountain Bikes"</ns:SearchFilter> </ns:Operator> </ns:Request> </soapenv:Body> </soapenv:Envelope>
<ns:Request> <ns:State> </ns:State> <ns:Operator/> <ns:ContentElementConfig Id="ValueSearchConfig" xsi:type="ns:ValueSearchConfig" HandlerNamespace="http://www.endeca.com/MDEX/conversation/2/0" HandlerFunction="ValueSearchHandler" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" MaxPerProperty="5" RelevanceRankingStrategy="static (nbins,descending)" Mode="Any" Language="en"> <ns:SearchTerm>"Touring Bikes"</ns:SearchTerm> <ns:RestrictToProperties> <ns:Property>ProductCategory</ns:Property> </ns:RestrictToProperties> </ns:ContentElementConfig> </ns:Request>