Re: Data colocation hint to solr index

2014-11-03 Thread Shawn Heisey
On 11/3/2014 12:45 PM, maninder batth wrote: > Thank you for recommendation on composite IDs. We currently use solr 3.x. > After reading on composite ids, it sounds like a feature of solr 4.x. Is > something similar available in solr 3.x also? Also, we do not use solrCloud. The compositeId router

Re: Data colocation hint to solr index

2014-11-03 Thread Erick Erickson
You have a TB-scale index and you're not using SolrCloud? Are you using master/slave or otherwise splitting up your index? Because if you're not, then please ship me some of your hardware because it must be awesome. Which is a tongue-in-cheek way of saying there must be lots of details you aren't

Re: Data colocation hint to solr index

2014-11-03 Thread maninder batth
Thank you for recommendation on composite IDs. We currently use solr 3.x. After reading on composite ids, it sounds like a feature of solr 4.x. Is something similar available in solr 3.x also? Also, we do not use solrCloud. On Mon, Nov 3, 2014 at 12:41 PM, Shalin Shekhar Mangar < shalinman...@gmai

Re: Data colocation hint to solr index

2014-11-03 Thread Shalin Shekhar Mangar
If you're using SolrCloud then you can use composite IDs such as !doc-id to co-locate documents belonging to a manufacturer together and at query time, you can add _route_=! to the request to route it to the correct node. On Mon, Nov 3, 2014 at 11:00 PM, maninder batth wrote: > Hi, > In my compa

Data colocation hint to solr index

2014-11-03 Thread maninder batth
Hi, In my company, we serve car manuals for different car manufacturers with their various makes and models. Typically, the search is always done within context of a car manufacturer, year, make and model. Is there a way in Solr to create indexes based on this criteria? Currently, the index contain