On Tue, Feb 4, 2014 at 1:43 PM, Joel Cohen <joel.co...@bluefly.com> wrote:
> 1. We are faceting. I'm not a developer so I'm not quite sure how we're
> doing it. How can I measure?

Add debugQuery=true to the request and look at the timings of various
components.

> 2. I'm not sure how we'd force this kind of document partitioning.

https://cwiki.apache.org/confluence/display/solr/Shards+and+Indexing+Data+in+SolrCloud

For example, if you are indexing user email boxes, then during
indexing you would add
_route_=the_user_id!the_document_id

and then during query time you would send
_route_=the_user_id!
and that would cause the query to only hit shards with those documents.

All of this only makes sense if there is often a subset of documents
you can query (and can partition based on that)


For 300K documents, you could try not sharding at all.

-Yonik
http://heliosearch.org - native off-heap filters and fieldcache for solr

Reply via email to