22 Jun 2012 02:32
Custom distributed SearchHandler: where do I store information in the ResponseBuilder from handleResponses->finishStage
Young, Cody <Cody.Young <at> move.com>
2012-06-22 00:32:17 GMT
2012-06-22 00:32:17 GMT
Okay, so I’m making a custom distributed SearchComponent. It does something similar to facet_queries for the distributed portion.
Modifies purpose_get_top_ids to modify the shard queries, handleResponses to aggregate information and then adds it to the response output in the finishStage.
Facets stores its data in a field in ResponseBuilder:
public FacetComponent.FacetInfo _facetInfo;
I could add my own field, but it feels strange to have to edit solr code to create a new SearchHandler plugin.
Thanks,
Cody
RSS Feed