If you're using SolrCloud then you can use composite IDs such as <make>!doc-id to co-locate documents belonging to a manufacturer together and at query time, you can add _route_=<make>! to the request to route it to the correct node.
On Mon, Nov 3, 2014 at 11:00 PM, maninder batth <mbatth.s...@gmail.com> wrote: > 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 contains all > manufactueres, makes and models. This causes index to go over a terabyte. > Hence, if we could teach solr to co-locate all the data for a particular > manufactuere, make and model, that would be an ideal thing to do. > I was wondering if this is possible? > > Regards, > Jim > -- Regards, Shalin Shekhar Mangar.