com.elasticpath.service.index.impl
Class CustomerQueryComposerImpl

java.lang.Object
  extended by com.elasticpath.service.index.impl.AbstractQueryComposerImpl
      extended by com.elasticpath.service.index.impl.CustomerQueryComposerImpl
All Implemented Interfaces:
QueryComposer

public class CustomerQueryComposerImpl
extends AbstractQueryComposerImpl
implements QueryComposer

A query compose for customer search.


Constructor Summary
CustomerQueryComposerImpl()
           
 
Method Summary
 org.apache.lucene.search.Query composeFuzzyQuery(SearchCriteria searchCriteria)
          Compose a fuzzy query based on the given search crieteria.
 org.apache.lucene.search.Query composeQuery(SearchCriteria searchCriteria)
          Compose a query based on the given search crieteria.
 
Methods inherited from class com.elasticpath.service.index.impl.AbstractQueryComposerImpl
getAnalyzer, getElasticPath, setAnalyzer, setElasticPath
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomerQueryComposerImpl

public CustomerQueryComposerImpl()
Method Detail

composeFuzzyQuery

public org.apache.lucene.search.Query composeFuzzyQuery(SearchCriteria searchCriteria)
Compose a fuzzy query based on the given search crieteria.

Specified by:
composeFuzzyQuery in interface QueryComposer
Parameters:
searchCriteria - the given search crieteria.
Returns:
a fuzzy query

composeQuery

public org.apache.lucene.search.Query composeQuery(SearchCriteria searchCriteria)
Compose a query based on the given search crieteria.

Specified by:
composeQuery in interface QueryComposer
Parameters:
searchCriteria - the given search crieteria
Returns:
a query