You can remove the distrib update processor and just distrib the data yourself.
Eventually the hash implementation will also be pluggable I think. On Apr 19, 2012, at 10:30 AM, Boon Low wrote: > Hi, > > Is there any mechanism in SolrCloud for controlling how the data is > distributed among the shards? For example, I'd like to create logical > (standalone) shards ('A', 'B', 'C') to make up a collection ('A-C"), and be > able query both a particular shard (e.g. 'A') or the collection entirely. At > the moment, my test suggests 'A' data is distributed to evenly to all shards > in SolrCloud. > > Regards, > > Boon > > ----- > Boon Low > Search UX and Engine Developer > brightsolid Online Publishing > > On 18 Apr 2012, at 12:41, Erick Erickson wrote: > >> Try looking at DistributedUpdateProcessor, there's >> a "hash(cmd)" method in there. >> >> Best >> Erick >> >> On Tue, Apr 17, 2012 at 4:45 PM, emma1023 <smile.emma1...@gmail.com> wrote: >>> Thanks for your reply. In sorl 3.x, we need to manually hash the doc Id to >>> the server.How does solrcloud do this instead? I am working on a project >>> using solrcloud.But we need to monitor how the solrcloud distribute the >>> data. I cannot find which part of the code it is from source code.Is it >>> from the cloud part? Thanks. >>> >>> >>> On Tue, Apr 17, 2012 at 3:16 PM, Mark Miller-3 [via Lucene] < >>> ml-node+s472066n3918192...@n3.nabble.com> wrote: >>> >>>> >>>> On Apr 17, 2012, at 9:56 AM, emma1023 wrote: >>>> >>>> It hashes the id. The doc distribution is fairly even - but sizes may be >>>> fairly different. >>>> >>>>> How solrcloud manage distribute data among shards of the same cluster >>>> when >>>>> you query? Is it distribute the data equally? What is the basis? Which >>>> part >>>>> of the code that I can find about it?Thank you so much! >>>>> >>>>> >>>>> -- >>>>> View this message in context: >>>> http://lucene.472066.n3.nabble.com/How-sorlcloud-distribute-data-among-shards-of-the-same-cluster-tp3917323p3917323.html >>>>> Sent from the Solr - User mailing list archive at Nabble.com. >>>> >>>> - Mark Miller >>>> lucidimagination.com >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> ------------------------------ >>>> If you reply to this email, your message will be added to the discussion >>>> below: >>>> >>>> http://lucene.472066.n3.nabble.com/How-sorlcloud-distribute-data-among-shards-of-the-same-cluster-tp3917323p3918192.html >>>> To unsubscribe from How sorlcloud distribute data among shards of the >>>> same cluster?, click >>>> here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3917323&code=c21pbGUuZW1tYTEwMjNAZ21haWwuY29tfDM5MTczMjN8LTYzMTg4ODk4Mw==> >>>> . >>>> NAML<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> >>>> >>> >>> >>> -- >>> View this message in context: >>> http://lucene.472066.n3.nabble.com/How-sorlcloud-distribute-data-among-shards-of-the-same-cluster-tp3917323p3918348.html >>> Sent from the Solr - User mailing list archive at Nabble.com. >> >> ______________________________________________________________________ >> This email has been scanned by the brightsolid Email Security System. >> Powered by MessageLabs >> ______________________________________________________________________ > > > ______________________________________________________________________ > "brightsolid" is used in this email to collectively mean brightsolid online > innovation limited and its subsidiary companies brightsolid online publishing > limited and brightsolid online technology limited. > findmypast.co.uk is a brand of brightsolid online publishing limited. > brightsolid online innovation limited, Gateway House, Luna Place, Dundee > Technology Park, Dundee DD2 1TP. Registered in Scotland No. SC274983. > brightsolid online publishing limited, The Glebe, 6 Chapel Place, Rivington > Street, London EC2A 3DQ. Registered in England No. 04369607. > brightsolid online technology limited, Gateway House, Luna Place, Dundee > Technology Park, Dundee DD2 1TP. Registered in Scotland No. SC161678. > > Email Disclaimer > > This message is confidential and may contain privileged information. You > should not disclose its contents to any other person. If you are not the > intended recipient, please notify the sender named above immediately. It is > expressly declared that this e-mail does not constitute nor form part of a > contract or unilateral obligation. Opinions, conclusions and other > information in this message that do not relate to the official business of > brightsolid shall be understood as neither given nor endorsed by it. > ______________________________________________________________________ > This email has been scanned by the brightsolid Email Security System. Powered > by MessageLabs > ______________________________________________________________________ - Mark Miller lucidimagination.com