[ https://issues.apache.org/jira/browse/SOLR-303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12549573 ]
Yonik Seeley commented on SOLR-303: ----------------------------------- Yes, I'm suggesting changing the main control loop. Normal non-distributed requests don't necessarily need stages (but could be added to be more consistent with the distributed methods... with stages, I don't think there would be a "prepare" method). Right now, my private copy of SearchComponent looks like {code} public abstract class SearchComponent implements SolrInfoMBean { public abstract void prepare( SolrQueryRequest req, SolrQueryResponse rsp ) throws IOException, ParseException; public abstract void process( SolrQueryRequest req, SolrQueryResponse rsp ) throws IOException; public int distributedProcess(ResponseBuilder rb) throws IOException { return ResponseBuilder.STAGE_END; } public void handleResponses(ResponseBuilder rb, ShardRequest sreq) { } {code} > Distributed Search over HTTP > ---------------------------- > > Key: SOLR-303 > URL: https://issues.apache.org/jira/browse/SOLR-303 > Project: Solr > Issue Type: New Feature > Components: search > Reporter: Sharad Agarwal > Attachments: fedsearch.patch, fedsearch.patch, fedsearch.patch, > fedsearch.patch, fedsearch.patch, fedsearch.stu.patch, fedsearch.stu.patch > > > Searching over multiple shards and aggregating results. > Motivated by http://wiki.apache.org/solr/DistributedSearch -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.