facet.query on text - recommended field type
I am experiencing very slow query time when using multiple facet.query on large result sets (like 5 minutes). I don't know how to optimize this, since it is not completely clear to me how the facet.query works. Currently my facet queries use tokenized text fields and contain wildcards or even use complex phrase query. The normal q query part uses the same queries but is acceptable fast (1 second). Does the facet.query use exact same search (through term index) as the q query does ? I am always reading that fields used for faceting should be string or keyword tokenized and docValues should be enabled. Is this true for facet.query as well or is this meant for facet.field only ? -- View this message in context: http://lucene.472066.n3.nabble.com/facet-query-on-text-recommended-field-type-tp4288940.html Sent from the Solr - User mailing list archive at Nabble.com.
Hash range to shard assignment
Hello folks, we would like to have control of where certain hash values or ranges are being located. The reason is that we want to shard per user but we know ahead that one or more specific users could grow way faster than others. Therefore we would like to locate them on separate shards (which may be on the same server initially and can be moved out later). So my question: can we control the hash-ranges and hash-range to shard assignment in SolrCloud ? Regards, Lochri -- View this message in context: http://lucene.472066.n3.nabble.com/Hash-range-to-shard-assignment-tp4091204.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Hash range to shard assignment
Thanks for the clarification. Still I would think it is sub-optimal to split shards when we actually don't know which mailboxes we actually split. It may create splits of small users which leads to unnecessary distribution of the smaller users. We thought about doing the routing ourself. As far as a I understood we can do distributed searches across multiple collections. What do you think about this option ? For the ideal solution: when will custom routers be supported ? Regards, Lochri -- View this message in context: http://lucene.472066.n3.nabble.com/Hash-range-to-shard-assignment-tp4091204p4091503.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Hash range to shard assignment
Yes, actually that would be a very comfortable solution. Is that planned ? And if so, when will it be released ? -- View this message in context: http://lucene.472066.n3.nabble.com/Hash-range-to-shard-assignment-tp4091204p4091591.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Hash range to shard assignment
Great, thank you !!! -- View this message in context: http://lucene.472066.n3.nabble.com/Hash-range-to-shard-assignment-tp4091204p4091889.html Sent from the Solr - User mailing list archive at Nabble.com.