public class ProductSearchResponseBuilder extends java.lang.Object implements IBuilder<SearchResponse>
Modifier and Type | Field and Description |
---|---|
private java.util.Set<CustomSearchFilterAttribute> |
attributes |
private CategoryFacetFactory |
categoryFactory |
private DocumentListToProductResultListConverter |
converter |
private CustomFacetsFactory |
customFactory |
private ManufacturerFacetFactory |
manufacturerFactory |
private NoveltyFacetFactory |
noveltyFactory |
private CategoryInfoMap |
pathMapper |
private PriceFacetFactory |
priceFactory |
private RatingFacetFactory |
ratingFactory |
private SearchRequest |
request |
private org.apache.solr.client.solrj.response.QueryResponse |
response |
private SpellingCorrectionFactory |
spellingCorrectionFactory |
Constructor and Description |
---|
ProductSearchResponseBuilder(NoveltyFacetFactory noveltyFactory,
ManufacturerFacetFactory manufacturerFactory,
CategoryFacetFactory categoryFactory,
PriceFacetFactory priceFactory,
RatingFacetFactory ratingFactory,
CustomFacetsFactory customFactory,
SpellingCorrectionFactory spellingCorrectionFactory,
DocumentListToProductResultListConverter converter) |
Modifier and Type | Method and Description |
---|---|
SearchResponse |
build() |
ProductSearchResponseBuilder |
withCategories(CategoryInfoMap pathMapper) |
ProductSearchResponseBuilder |
withCustomAttributes(java.util.Set<CustomSearchFilterAttribute> attributes) |
ProductSearchResponseBuilder |
withRequest(SearchRequest request) |
ProductSearchResponseBuilder |
withResponse(org.apache.solr.client.solrj.response.QueryResponse response) |
private final NoveltyFacetFactory noveltyFactory
private final ManufacturerFacetFactory manufacturerFactory
private final CategoryFacetFactory categoryFactory
private final PriceFacetFactory priceFactory
private final RatingFacetFactory ratingFactory
private final CustomFacetsFactory customFactory
private final SpellingCorrectionFactory spellingCorrectionFactory
private java.util.Set<CustomSearchFilterAttribute> attributes
private final DocumentListToProductResultListConverter converter
private SearchRequest request
private org.apache.solr.client.solrj.response.QueryResponse response
private CategoryInfoMap pathMapper
@Inject public ProductSearchResponseBuilder(NoveltyFacetFactory noveltyFactory, ManufacturerFacetFactory manufacturerFactory, CategoryFacetFactory categoryFactory, PriceFacetFactory priceFactory, RatingFacetFactory ratingFactory, CustomFacetsFactory customFactory, SpellingCorrectionFactory spellingCorrectionFactory, DocumentListToProductResultListConverter converter)
public ProductSearchResponseBuilder withCustomAttributes(java.util.Set<CustomSearchFilterAttribute> attributes)
public ProductSearchResponseBuilder withRequest(SearchRequest request)
public ProductSearchResponseBuilder withResponse(org.apache.solr.client.solrj.response.QueryResponse response)
public ProductSearchResponseBuilder withCategories(CategoryInfoMap pathMapper)
public SearchResponse build()
build
in interface IBuilder<SearchResponse>