Try putting them all in one index. Your fields can be s1_name for
schema 1, s2_name for schema 2, and so on.

The only reason to have separate indexes is if each group of
content has a different update schedule and if you have high
traffic (over 1M queries/day).

wunder

On 8/8/08 8:19 AM, "Kashyap, Raghu" <[EMAIL PROTECTED]> wrote:

> Not sure if this will work for you but you can have 3 cores (using
> multicore) and have your solr server or the client decide on to which
> core it should be hitting. With this approach your can have separate
> schema.xml & solrconfig.xml for each of the cores & obviously separate
> index in each core.
> 
> -Raghu
> 
> -----Original Message-----
> From: anshuljohri [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 07, 2008 5:19 PM
> To: solr-user@lucene.apache.org
> Subject: Re: Multiple Indexes
> 
> 
> Both the cases are there. As i said i need to index 3 indexes. So 2
> indexes
> have same schema but other one has different. More specification is like
> this --
> 
> I have 3 indexes. In which 2 indexes have same data model but the way
> these
> are indexed is different. So i need to fire query from backend on
> individual
> indexes based on input. But the 3rd index has diff schema also. Again
> the
> query will be fired on this index based on input.
> 
> So my question is how can i handle this situation. Thru configuring
> multiple
> instances of Solr/Tomcat if ya than how? else what are the other ways on
> Solr 1.2
> 
> -Anshul
> 
> 
> zayhen wrote:
>> 
>> Oh,
>> 
>> Sorry!
>> 
>> Can you be a little more specific? Do these indexes have different
>> schemas,
>> or do they represent the same data model?
>> 
>> 2008/8/7 anshuljohri <[EMAIL PROTECTED]>
>> 
>>> 
>>> Thanks zayhen for such a quick response but am not talking about
>>> sharding.
>>> I
>>> have requirement of indexing 3 indexes. Need to do query on diff
> indexes
>>> based on input.
>>> 
>>> -Anshul
>>> 
>>> zayhen wrote:
>>>> 
>>>> 2008/8/7 anshuljohri <[EMAIL PROTECTED]>
>>>> 
>>>>> 
>>>>> Hi everybody!
>>>>> 
>>>>> I need to create multiple indexes lets say 3 due to project
>>> requirement.
>>>>> And
>>>>> the query will be fired from backend on different indexes based on
>>> input.
>>>>> I
>>>>> can't do it in one index with the help of "fq" parameter. As i
> have
>>>>> already
>>>>> thought on it but thats of no use.
>>>> 
>>>> 
>>>> I assume you are talking about sharding. Go 1.3-dev. It runs smooth
> in
>>> my
>>>> environment!
>>>> 
>>>> 
>>>>> 
>>>>> 
>>>>> So i searched a lot in this forum but couldn't get satisfactory
>>> answer.
>>> I
>>>>> found that there are 3 ways to do it. In which 2 ways are not
>>> applicable
>>>>> in
>>>>> 1.2 version. So i have to go with Multiple Tomcat instances option
> as
>>> in
>>>>> multiple webapps config.
>>>>> But still am not clear whether I need 3 diff solrConfig.xml &
>>> schema.xml
>>>>> or
>>>>> I can do it with symlinks.
>>>>> Is there any tutorial or some reading material for this. Can
> anybody
>>> plz
>>>>> help me out?
>>>>> 
>>>> 
>>>> 
>>>>> 
>>>>> Thanks is advance
>>>>> -Anshul Johri
>>>>> --
>>>>> View this message in context:
>>>>> http://www.nabble.com/Multiple-Indexes-tp18880284p18880284.html
>>>>> Sent from the Solr - User mailing list archive at Nabble.com.
>>>>> 
>>>>> 
>>>> 
>>>> 
>>>> --
>>>> Alexander Ramos Jardim
>>>> 
>>>> 
>>>> -----
>>>> RPG da Ilha
>>>> 
>>> 
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Multiple-Indexes-tp18880284p18880771.html
>>> Sent from the Solr - User mailing list archive at Nabble.com.
>>> 
>>> 
>> 
>> 
>> -- 
>> Alexander Ramos Jardim
>> 
>> 
>> -----
>> RPG da Ilha 
>> 

Reply via email to