Class FulfillmentApplicationSolrQueryContributor
- java.lang.Object
-
- com.broadleafcommerce.search.provider.solr.AbstractSolrQueryContributor
-
- com.broadleafcommerce.search.provider.solr.ApplicationTrackableSolrQueryContributor
-
- com.broadleafcommerce.search.fulfillment.solr.query.FulfillmentApplicationSolrQueryContributor
-
- All Implemented Interfaces:
com.broadleafcommerce.search.provider.solr.IndexableTypeSolrQueryContributor
,com.broadleafcommerce.search.provider.solr.SolrQueryContributor
,org.springframework.core.Ordered
public class FulfillmentApplicationSolrQueryContributor extends com.broadleafcommerce.search.provider.solr.ApplicationTrackableSolrQueryContributor implements com.broadleafcommerce.search.provider.solr.IndexableTypeSolrQueryContributor
Supports the ability to skip application narrowing when searching fulfillments in the tenant context.
-
-
Constructor Summary
Constructors Constructor Description FulfillmentApplicationSolrQueryContributor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.broadleafcommerce.search.api.type.IndexableType
getIndexableType()
protected boolean
isTenantContext(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
protected boolean
shouldContribute(org.apache.solr.client.solrj.SolrQuery solrQuery, com.broadleafcommerce.search.api.domain.SearchRequest searchRequest, org.springframework.data.domain.Pageable page, com.broadleafcommerce.search.core.service.SearchRequestProperties properties, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
-
Methods inherited from class com.broadleafcommerce.search.provider.solr.ApplicationTrackableSolrQueryContributor
contributeInternal, contributeOnTypeAhead
-
Methods inherited from class com.broadleafcommerce.search.provider.solr.AbstractSolrQueryContributor
contribute
-
-
-
-
Method Detail
-
getIndexableType
public com.broadleafcommerce.search.api.type.IndexableType getIndexableType()
- Specified by:
getIndexableType
in interfacecom.broadleafcommerce.search.provider.solr.IndexableTypeSolrQueryContributor
-
shouldContribute
protected boolean shouldContribute(org.apache.solr.client.solrj.SolrQuery solrQuery, com.broadleafcommerce.search.api.domain.SearchRequest searchRequest, org.springframework.data.domain.Pageable page, com.broadleafcommerce.search.core.service.SearchRequestProperties properties, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
- Overrides:
shouldContribute
in classcom.broadleafcommerce.search.provider.solr.ApplicationTrackableSolrQueryContributor
-
isTenantContext
protected boolean isTenantContext(@Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
-
-