lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: Solr custom document routing
Date Sun, 04 Dec 2016 16:33:57 GMT
_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 <Klin892006@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.

Mime
View raw message