lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shalin Shekhar Mangar <shalinman...@gmail.com>
Subject Re: Data colocation hint to solr index
Date Mon, 03 Nov 2014 17:41:51 GMT
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.solr@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.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message