_Why_ do you need to do this? Frankly this sounds
like an XY problem, you think the proper solution
is partitioning the docs as you're asking about because
it'll solve some problem. But you haven't stated what
the problem you're trying to solve is.

If you're just trying to optimize querying, I _strongly_
you measure the performance and see if it's worth
the effort. Premature optimization and all that.

Best,
Erick

On Sat, Dec 3, 2016 at 11:14 PM, SOLR4189 <klin892...@yandex.ru> wrote:
> Lets say I have a collection with 4 shards. I need shard1 to contain all
> documents with fieldX=true and shard2-shard4 to contain all documents with
> fieldX=false. I need this to work while indexing and while quering. How can
> I do it in SOLR?
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Solr-custom-document-routing-tp4308432.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to