com.elasticpath.service.index.impl
Class ProductQueryComposerImpl

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

public class ProductQueryComposerImpl
extends AbstractQueryComposerImpl
implements QueryComposer

A query compose for products search.


Constructor Summary
ProductQueryComposerImpl()
           
 
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

ProductQueryComposerImpl

public ProductQueryComposerImpl()
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