Uses of Class
org.apache.solr.handler.component.ResponseBuilder
-
Packages that use ResponseBuilder Package Description org.apache.solr.handler.component SearchComponentimplementations for use inSearchHandlerorg.apache.solr.request APIs and classes for dealing with Solr requestsorg.apache.solr.response API and implementations ofQueryResponseWriterfor formatting Solr request responsesorg.apache.solr.search APIs and classes for parsing and processing search requestsorg.apache.solr.search.facet APIs and classes for the JSON Facet API.org.apache.solr.search.grouping.distributed Internal classes used to implement distributed result groupingorg.apache.solr.search.grouping.distributed.requestfactory Internal classes used to implement distributed result groupingorg.apache.solr.search.grouping.distributed.responseprocessor Internal classes used to implement distributed result groupingorg.apache.solr.search.grouping.distributed.shardresultserializer Internal classes used to implement distributed result groupingorg.apache.solr.search.grouping.endresulttransformer APIs and classes for transforming result grouping results into the appropriate response formatorg.apache.solr.search.join Classes related to joins.org.apache.solr.search.stats APIs and Classes implementing the Stats component used for document frequency calculations.org.apache.solr.spelling APIs and classes used by theSpellCheckComponentorg.apache.solr.util Common utility classes used throughout Solr -
-
Uses of ResponseBuilder in org.apache.solr.handler.component
Methods in org.apache.solr.handler.component that return ResponseBuilder Modifier and Type Method Description protected ResponseBuilderSearchHandler. newResponseBuilder(SolrQueryRequest req, SolrQueryResponse rsp, List<SearchComponent> components)Override this method if you require a customResponseBuildere.g.Methods in org.apache.solr.handler.component with parameters of type ResponseBuilder Modifier and Type Method Description protected voidSpellCheckComponent. addCollationsToResponse(SolrParams params, SpellingResult spellingResult, ResponseBuilder rb, String q, NamedList response, boolean suggestionsMayOverlap)protected voidTermsComponent. checkShardsWhitelist(ResponseBuilder rb, List<String> lst)voidPivotFacetField. contributeFromShard(int shardNumber, ResponseBuilder rb, List<NamedList<Object>> response)Recursively merges the contributions from the specified shard for eachPivotFacetValuerepresended in theresponse.protected voidQueryComponent. createDistributedStats(ResponseBuilder rb)static PivotFacetFieldPivotFacetField. createFromListOfNamedLists(int shardNumber, ResponseBuilder rb, PivotFacetValue owner, List<NamedList<Object>> pivotValues)A recursive method to construct a newPivotFacetFieldobject from the contents of theNamedLists provided by the specified shard, relative to a parent value (if this is not the top field in the pivot hierarchy) The associated childPivotFacetValues will be recursively built as well.static PivotFacetValuePivotFacetValue. createFromNamedList(int shardNumber, ResponseBuilder rb, PivotFacetField parentField, NamedList<Object> pivotData)A recursive method to construct a newPivotFacetValueobject from the contents of theNamedListprovided by the specified shard, relative to the specified field.protected voidQueryComponent. createMainQuery(ResponseBuilder rb)protected voidQueryComponent. createRetrieveDocs(ResponseBuilder rb)intRealTimeGetComponent. createSubRequests(ResponseBuilder rb)static NamedListSpatialHeatmapFacets. distribFinish(LinkedHashMap<String,SpatialHeatmapFacets.HeatmapFacet> heatmapInfos, ResponseBuilder rb)Called by FacetComponent's impl ofSearchComponent.finishStage(ResponseBuilder).static LinkedHashMap<String,SpatialHeatmapFacets.HeatmapFacet>SpatialHeatmapFacets. distribParse(SolrParams params, ResponseBuilder rb)Parses request to "HeatmapFacet" instances.intExpandComponent. distributedProcess(ResponseBuilder rb)intFacetComponent. distributedProcess(ResponseBuilder rb)intPhrasesIdentificationComponent. distributedProcess(ResponseBuilder rb)intQueryComponent. distributedProcess(ResponseBuilder rb)intRealTimeGetComponent. distributedProcess(ResponseBuilder rb)intSearchComponent. distributedProcess(ResponseBuilder rb)Process for a distributed search.intStatsComponent. distributedProcess(ResponseBuilder rb)intSuggestComponent. distributedProcess(ResponseBuilder rb)Dispatch shard request inSTAGE_EXECUTE_QUERYstageintTermsComponent. distributedProcess(ResponseBuilder rb)protected voidQueryComponent. doFieldSortValues(ResponseBuilder rb, SolrIndexSearcher searcher)protected voidQueryComponent. doPrefetch(ResponseBuilder rb)protected voidFacetComponent.DistribFieldFacet. fillParams(ResponseBuilder rb, SolrParams params, String field)protected voidFacetComponent.FieldFacet. fillParams(ResponseBuilder rb, SolrParams params, String field)voidDebugComponent. finishStage(ResponseBuilder rb)voidExpandComponent. finishStage(ResponseBuilder rb)voidFacetComponent. finishStage(ResponseBuilder rb)voidHighlightComponent. finishStage(ResponseBuilder rb)voidMoreLikeThisComponent. finishStage(ResponseBuilder rb)voidPhrasesIdentificationComponent. finishStage(ResponseBuilder rb)voidQueryComponent. finishStage(ResponseBuilder rb)voidRealTimeGetComponent. finishStage(ResponseBuilder rb)private void handleRegularResponses(ResponseBuilder rb, ShardRequest sreq) { }voidSearchComponent. finishStage(ResponseBuilder rb)Called after all responses have been received for this stage.voidSpellCheckComponent. finishStage(ResponseBuilder rb)voidStatsComponent. finishStage(ResponseBuilder rb)voidSuggestComponent. finishStage(ResponseBuilder rb)Used in Distributed Search, merges the suggestion results from every shardvoidTermsComponent. finishStage(ResponseBuilder rb)voidTermVectorComponent. finishStage(ResponseBuilder rb)protected QueryElevationComponent.ElevationQueryElevationComponent. getElevation(ResponseBuilder rb)static NamedList<Object>SpatialHeatmapFacets. getHeatmapForField(String fieldKey, String fieldName, ResponseBuilder rb, SolrParams params, DocSet docSet)Called bySimpleFacetsto compute heatmap facets.protected intQueryComponent. groupedDistributedProcess(ResponseBuilder rb)protected voidQueryComponent. groupedFinishStage(ResponseBuilder rb)protected voidQueryComponent. handleGroupedResponses(ResponseBuilder rb, ShardRequest sreq)voidIterativeMergeStrategy. handleMergeFields(ResponseBuilder rb, SolrIndexSearcher searcher)voidMergeStrategy. handleMergeFields(ResponseBuilder rb, SolrIndexSearcher searcher)Implement handleMergeFields(ResponseBuilder rb, SolrIndexSearch searcher) if your merge strategy needs more complex data then the sort fields provide.protected voidQueryComponent. handleRegularResponses(ResponseBuilder rb, ShardRequest sreq)voidDebugComponent. handleResponses(ResponseBuilder rb, ShardRequest sreq)voidExpandComponent. handleResponses(ResponseBuilder rb, ShardRequest sreq)voidFacetComponent. handleResponses(ResponseBuilder rb, ShardRequest sreq)voidHighlightComponent. handleResponses(ResponseBuilder rb, ShardRequest sreq)voidMoreLikeThisComponent. handleResponses(ResponseBuilder rb, ShardRequest sreq)voidQueryComponent. handleResponses(ResponseBuilder rb, ShardRequest sreq)voidSearchComponent. handleResponses(ResponseBuilder rb, ShardRequest sreq)Called after all responses for a single request were receivedvoidStatsComponent. handleResponses(ResponseBuilder rb, ShardRequest sreq)voidTermsComponent. handleResponses(ResponseBuilder rb, ShardRequest sreq)static voidFacetComponent.FacetContext. initContext(ResponseBuilder rb)Initializes FacetContext using request parameters and saves it in the request context which can be retrieved viaFacetComponent.FacetContext.getFacetContext(SolrQueryRequest)voidIterativeMergeStrategy. merge(ResponseBuilder rb, ShardRequest sreq)voidMergeStrategy. merge(ResponseBuilder rb, ShardRequest sreq)merge defines the merging behaving of results that are collected from the shards during a distributed search.voidPivotFacetValue. mergeContributionFromShard(int shardNumber, ResponseBuilder rb, NamedList<Object> value)Merges in the count contributions from the specified shard for each.protected voidQueryComponent. mergeIds(ResponseBuilder rb, ShardRequest sreq)voidPivotFacet. mergeResponseFromShard(int shardNumber, ResponseBuilder rb, List<NamedList<Object>> response)Recursively merges the response from the specified shard, tracking the known shards.voidDebugComponent. modifyRequest(ResponseBuilder rb, SearchComponent who, ShardRequest sreq)voidExpandComponent. modifyRequest(ResponseBuilder rb, SearchComponent who, ShardRequest sreq)voidFacetComponent. modifyRequest(ResponseBuilder rb, SearchComponent who, ShardRequest sreq)voidHighlightComponent. modifyRequest(ResponseBuilder rb, SearchComponent who, ShardRequest sreq)voidMoreLikeThisComponent. modifyRequest(ResponseBuilder rb, SearchComponent who, ShardRequest sreq)voidSearchComponent. modifyRequest(ResponseBuilder rb, SearchComponent who, ShardRequest sreq)Called after another component adds a requestvoidSpellCheckComponent. modifyRequest(ResponseBuilder rb, SearchComponent who, ShardRequest sreq)voidStatsComponent. modifyRequest(ResponseBuilder rb, SearchComponent who, ShardRequest sreq)voidTermVectorComponent. modifyRequest(ResponseBuilder rb, SearchComponent who, ShardRequest sreq)protected SimpleFacetsFacetComponent. newSimpleFacets(SolrQueryRequest req, DocSet docSet, SolrParams params, ResponseBuilder rb)protected voidQueryComponent. populateNextCursorMarkFromMergedShards(ResponseBuilder rb)Inspects the state of theResponseBuilderand populates the nextsetNextCursorMark(org.apache.solr.search.CursorMark)as appropriate based on the merged sort values from individual shardsvoidDebugComponent. prepare(ResponseBuilder rb)voidExpandComponent. prepare(ResponseBuilder rb)voidFacetComponent. prepare(ResponseBuilder rb)voidHighlightComponent. prepare(ResponseBuilder rb)voidMoreLikeThisComponent. prepare(ResponseBuilder rb)voidPhrasesIdentificationComponent. prepare(ResponseBuilder rb)voidQueryComponent. prepare(ResponseBuilder rb)voidQueryElevationComponent. prepare(ResponseBuilder rb)voidRealTimeGetComponent. prepare(ResponseBuilder rb)voidResponseLogComponent. prepare(ResponseBuilder rb)abstract voidSearchComponent. prepare(ResponseBuilder rb)Prepare the response.voidSpellCheckComponent. prepare(ResponseBuilder rb)voidStatsComponent. prepare(ResponseBuilder rb)voidSuggestComponent. prepare(ResponseBuilder rb)Responsible for issuing build and rebuild command to the specifiedSolrSuggestervoidTermsComponent. prepare(ResponseBuilder rb)voidTermVectorComponent. prepare(ResponseBuilder rb)protected voidQueryComponent. prepareGrouping(ResponseBuilder rb)voidHttpShardHandler. prepDistributed(ResponseBuilder rb)abstract voidShardHandler. prepDistributed(ResponseBuilder rb)voidDebugComponent. process(ResponseBuilder rb)voidExpandComponent. process(ResponseBuilder rb)voidFacetComponent. process(ResponseBuilder rb)Actually run the queryvoidHighlightComponent. process(ResponseBuilder rb)protected abstract voidIterativeMergeStrategy. process(ResponseBuilder rb, ShardRequest sreq)voidMoreLikeThisComponent. process(ResponseBuilder rb)voidPhrasesIdentificationComponent. process(ResponseBuilder rb)voidQueryComponent. process(ResponseBuilder rb)Actually run the queryvoidQueryElevationComponent. process(ResponseBuilder rb)voidRealTimeGetComponent. process(ResponseBuilder rb)voidResponseLogComponent. process(ResponseBuilder rb)abstract voidSearchComponent. process(ResponseBuilder rb)Process the request for this componentvoidSpellCheckComponent. process(ResponseBuilder rb)voidStatsComponent. process(ResponseBuilder rb)voidSuggestComponent. process(ResponseBuilder rb)Responsible for using the specified suggester to get the suggestions for the query and write the resultsvoidTermsComponent. process(ResponseBuilder rb)voidTermVectorComponent. process(ResponseBuilder rb)voidRealTimeGetComponent. processGetFingeprint(ResponseBuilder rb)voidRealTimeGetComponent. processGetUpdates(ResponseBuilder rb)voidRealTimeGetComponent. processGetVersions(ResponseBuilder rb)protected voidResponseLogComponent. processIds(ResponseBuilder rb, DocList dl, IndexSchema schema, SolrIndexSearcher searcher)protected voidResponseLogComponent. processScores(ResponseBuilder rb, DocList dl, IndexSchema schema, SolrIndexSearcher searcher)voidRealTimeGetComponent. processSync(ResponseBuilder rb, int nVersions, String sync)voidRealTimeGetComponent. processSyncWithLeader(ResponseBuilder rb, int nVersions, String syncWithLeader, List<Long> versions)protected intQueryComponent. regularDistributedProcess(ResponseBuilder rb)protected voidQueryComponent. regularFinishStage(ResponseBuilder rb)protected voidQueryComponent. returnFields(ResponseBuilder rb, ShardRequest sreq)protected voidQueryComponent. updateStats(ResponseBuilder rb, ShardRequest sreq)Constructors in org.apache.solr.handler.component with parameters of type ResponseBuilder Constructor Description FacetBase(ResponseBuilder rb, String facetType, String facetStr)FieldFacet(ResponseBuilder rb, String facetStr)HeatmapFacet(ResponseBuilder rb, String facetStr)PivotFacet(ResponseBuilder rb, String facetStr)PivotFacetProcessor(SolrQueryRequest req, DocSet docs, SolrParams params, ResponseBuilder rb)QueryFacet(ResponseBuilder rb, String facetStr)RangeFacetProcessor(SolrQueryRequest req, DocSet docs, SolrParams params, ResponseBuilder rb)RangeFacetRequest(ResponseBuilder rb, String f)StatsField(ResponseBuilder rb, String statsParam) -
Uses of ResponseBuilder in org.apache.solr.request
Fields in org.apache.solr.request declared as ResponseBuilder Modifier and Type Field Description protected ResponseBuilderSimpleFacets. rbprotected ResponseBuilderSolrRequestInfo. rbMethods in org.apache.solr.request that return ResponseBuilder Modifier and Type Method Description ResponseBuilderSimpleFacets. getResponseBuilder()ResponseBuilderSolrRequestInfo. getResponseBuilder()May return null if the request handler is not based on SearchHandlerMethods in org.apache.solr.request with parameters of type ResponseBuilder Modifier and Type Method Description voidSolrRequestInfo. setResponseBuilder(ResponseBuilder rb)Constructors in org.apache.solr.request with parameters of type ResponseBuilder Constructor Description SimpleFacets(SolrQueryRequest req, DocSet docs, SolrParams params, ResponseBuilder rb) -
Uses of ResponseBuilder in org.apache.solr.response
Constructors in org.apache.solr.response with parameters of type ResponseBuilder Constructor Description BasicResultContext(ResponseBuilder rb)BasicResultContext(ResponseBuilder rb, DocList docList) -
Uses of ResponseBuilder in org.apache.solr.search
Methods in org.apache.solr.search with parameters of type ResponseBuilder Modifier and Type Method Description abstract DelegatingCollectorAnalyticsQuery. getAnalyticsCollector(ResponseBuilder rb, org.apache.lucene.search.IndexSearcher searcher) -
Uses of ResponseBuilder in org.apache.solr.search.facet
Methods in org.apache.solr.search.facet with parameters of type ResponseBuilder Modifier and Type Method Description intFacetModule. distributedProcess(ResponseBuilder rb)voidFacetModule. finishStage(ResponseBuilder rb)org.apache.solr.search.facet.FacetModule.FacetComponentStateFacetModule. getFacetComponentState(ResponseBuilder rb)voidFacetModule. handleResponses(ResponseBuilder rb, ShardRequest sreq)voidFacetModule. modifyRequest(ResponseBuilder rb, SearchComponent who, ShardRequest sreq)voidFacetModule. prepare(ResponseBuilder rb)voidFacetModule. process(ResponseBuilder rb) -
Uses of ResponseBuilder in org.apache.solr.search.grouping.distributed
Methods in org.apache.solr.search.grouping.distributed with parameters of type ResponseBuilder Modifier and Type Method Description ShardRequest[]ShardRequestFactory. constructRequest(ResponseBuilder rb)ReturnsShardRequestinstances.voidShardResponseProcessor. process(ResponseBuilder rb, ShardRequest shardRequest)Processes the responses from the specified shardRequest. -
Uses of ResponseBuilder in org.apache.solr.search.grouping.distributed.requestfactory
Methods in org.apache.solr.search.grouping.distributed.requestfactory with parameters of type ResponseBuilder Modifier and Type Method Description ShardRequest[]SearchGroupsRequestFactory. constructRequest(ResponseBuilder rb)ShardRequest[]StoredFieldsShardRequestFactory. constructRequest(ResponseBuilder rb)ShardRequest[]TopGroupsShardRequestFactory. constructRequest(ResponseBuilder rb) -
Uses of ResponseBuilder in org.apache.solr.search.grouping.distributed.responseprocessor
Methods in org.apache.solr.search.grouping.distributed.responseprocessor with parameters of type ResponseBuilder Modifier and Type Method Description voidSearchGroupShardResponseProcessor. process(ResponseBuilder rb, ShardRequest shardRequest)voidStoredFieldsShardResponseProcessor. process(ResponseBuilder rb, ShardRequest shardRequest)voidTopGroupsShardResponseProcessor. process(ResponseBuilder rb, ShardRequest shardRequest) -
Uses of ResponseBuilder in org.apache.solr.search.grouping.distributed.shardresultserializer
Constructors in org.apache.solr.search.grouping.distributed.shardresultserializer with parameters of type ResponseBuilder Constructor Description TopGroupsResultTransformer(ResponseBuilder rb) -
Uses of ResponseBuilder in org.apache.solr.search.grouping.endresulttransformer
Methods in org.apache.solr.search.grouping.endresulttransformer with parameters of type ResponseBuilder Modifier and Type Method Description voidEndResultTransformer. transform(Map<String,?> result, ResponseBuilder rb, EndResultTransformer.SolrDocumentSource solrDocumentSource)Transforms the specified result into its final form and puts it into the specified response.voidGroupedEndResultTransformer. transform(Map<String,?> result, ResponseBuilder rb, EndResultTransformer.SolrDocumentSource solrDocumentSource)voidMainEndResultTransformer. transform(Map<String,?> result, ResponseBuilder rb, EndResultTransformer.SolrDocumentSource solrDocumentSource)voidSimpleEndResultTransformer. transform(Map<String,?> result, ResponseBuilder rb, EndResultTransformer.SolrDocumentSource solrDocumentSource) -
Uses of ResponseBuilder in org.apache.solr.search.join
Methods in org.apache.solr.search.join with parameters of type ResponseBuilder Modifier and Type Method Description voidBlockJoinDocSetFacetComponent. prepare(ResponseBuilder rb)Deprecated.voidBlockJoinDocSetFacetComponent. process(ResponseBuilder rb)Deprecated. -
Uses of ResponseBuilder in org.apache.solr.search.stats
Methods in org.apache.solr.search.stats with parameters of type ResponseBuilder Modifier and Type Method Description intStatsCache. approxCheckMissingStats(ResponseBuilder rb, StatsSource statsSource, Consumer<org.apache.lucene.index.Term> missingTermStats, Consumer<String> missingFieldStats)Check if thestatsSourceis missing some term or field statistics info, which then needs to be retrieved.protected ShardRequestExactStatsCache. doRetrieveStatsRequest(ResponseBuilder rb)protected ShardRequestLocalStatsCache. doRetrieveStatsRequest(ResponseBuilder rb)protected ShardRequestLRUStatsCache. doRetrieveStatsRequest(ResponseBuilder rb)protected abstract ShardRequestStatsCache. doRetrieveStatsRequest(ResponseBuilder rb)protected voidExactStatsCache. doReturnLocalStats(ResponseBuilder rb, SolrIndexSearcher searcher)protected voidLocalStatsCache. doReturnLocalStats(ResponseBuilder rb, SolrIndexSearcher searcher)protected abstract voidStatsCache. doReturnLocalStats(ResponseBuilder rb, SolrIndexSearcher searcher)protected voidExactStatsCache. doSendGlobalStats(ResponseBuilder rb, ShardRequest outgoing)protected voidLocalStatsCache. doSendGlobalStats(ResponseBuilder rb, ShardRequest outgoing)protected abstract voidStatsCache. doSendGlobalStats(ResponseBuilder rb, ShardRequest outgoing)protected Map<String,CollectionStats>ExactSharedStatsCache. getPerShardColStats(ResponseBuilder rb, String shard)protected Map<String,CollectionStats>ExactStatsCache. getPerShardColStats(ResponseBuilder rb, String shard)protected Map<String,CollectionStats>LRUStatsCache. getPerShardColStats(ResponseBuilder rb, String shard)ShardRequestStatsCache. retrieveStatsRequest(ResponseBuilder rb)Creates aShardRequestto retrieve per-shard stats related to the current query and the current state of the requester'sStatsCache.voidStatsCache. returnLocalStats(ResponseBuilder rb, SolrIndexSearcher searcher)Prepare a local (from the local shard) response to a "retrieve stats" shard request.voidStatsCache. sendGlobalStats(ResponseBuilder rb, ShardRequest outgoing)Prepare global stats data to be sent out to shards in this request. -
Uses of ResponseBuilder in org.apache.solr.spelling
Methods in org.apache.solr.spelling with parameters of type ResponseBuilder Modifier and Type Method Description List<SpellCheckCollation>SpellCheckCollator. collate(SpellingResult result, String originalQuery, ResponseBuilder ultimateResponse) -
Uses of ResponseBuilder in org.apache.solr.util
Methods in org.apache.solr.util with parameters of type ResponseBuilder Modifier and Type Method Description static Set<String>SolrPluginUtils. getDebugInterests(String[] params, ResponseBuilder rb)static voidSolrPluginUtils. optimizePreFetchDocs(ResponseBuilder rb, DocList docs, org.apache.lucene.search.Query query, SolrQueryRequest req, SolrQueryResponse res)Pre-fetch documents into the index searcher's document cache.
-