You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2009/06/04 20:55:24 UTC
[Solr Wiki] Trivial Update of "WritingDistributedSearchComponents" by
JohnBennett
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The following page has been changed by JohnBennett:
http://wiki.apache.org/solr/WritingDistributedSearchComponents
------------------------------------------------------------------------------
(There's also ResponseBuilder.STAGE_DONE, which should be returned when the component has nothing left to do.)
- The basic distributed algorithm (which is a different path from the non-distributed], as implemented in [http://lucene.apache.org/solr/api/org/apache/solr/handler/component/SearchHandler SearchHandler] is:
+ The basic distributed algorithm (which is a different path from the non-distributed), as implemented in [http://lucene.apache.org/solr/api/org/apache/solr/handler/component/SearchHandler SearchHandler] is:
1. while not at STAGE_DONE
1. For each Component invoke distributedProcess to see if it has anything it wants to distribute. If it does, it will return one of the 4 stages and setup a !ShardRequest and add it to a queue
1. While we have outgoing !ShardRequest instances
@@ -45, +45 @@
== ShardResponse ==
/!\ :TODO: /!\
- /!\ :TODO: /!\ Fill in when to override what. Fill in how to know what stage your at. Fill in how to signify the component is done w/ it's work
+ /!\ :TODO: /!\ Fill in when to override what. Fill in how to know what stage your at. Fill in how to signify the component is done with its work