Package com.broadleafcommerce.search.provider.solr
@NonNullApi
package com.broadleafcommerce.search.provider.solr
-
ClassDescriptionAbstract
SolrQueryContributor
which supports easily indicating if a contributor should be run or not.Add query filters to narrow query results to only those within the current application context.Add query filters to narrow query results down to the most specific Catalog context provided.Add query filters to narrow query results to only those within the current Customer Context.WhenSearchSettingsProperties.isEnabled()
is true, this will be applied in non-Admin contexts to exclude non-searchable and non-online products from results.Adds query filters for active start and end dates for catalog queries.This contributor is responsible for applying filter queries (fq params) to the solr query.Sets Solr's "fl" value to designate which fields should be returned in a search response.Handles attaching any relevant sorting (price, alphabetical, etc) to the search request.Ifspell check is enabled
, this sets the necessary parameters on the Solr request.Identifies aSolrQueryContributor
which only applies to a specific indexable type.Replace standard query with typed queries to include custom querying and boosts on query type / field combinations.This contributor is responsible for applying the query parser boost parameter to the solr query.This contributor converts RSQL parameters into filter queries that solr understands.Add query filters to narrow query results down to the most specific Sandbox context provided.Adds more specific behavior to customize a Solr Query for search.This contributor adds the score parameter into the field list to be returned.Add query filters to narrow query results to only those within the current tenant context.Add query filters to narrow query results to only those within the user's allowed vendor restrictions.