Jochen's suggestion is a good one. Alternately you could just
index all the fields into a single schema with, say, a "type" field
to use in a filter query to separate the searches.

Which you choose is largely a matter of taste. Unless there are
a LOT of documents the penalty for having unused fields is
pretty small.

Best
Erick

On Wed, Oct 17, 2012 at 8:22 AM, Jochen Just <jochen.j...@avono.de> wrote:
> You probably should try a multi core installation:
> http://wiki.apache.org/solr/CoreAdmin should get you started.
> Am 17.10.2012 12:21, schrieb blopez:
>> Hi all,
>>
>> I'm facing a problem that I think is easier to solve than I really
>> think.
>>
>> Overview: I have an application working on Solr which manages
>> indexing and retrieval operations. Everything's working fine, I can
>> index some docs (for example schema with attributes A, B and C) in
>> a Solr index and then perform query operations on it.
>>
>> The problem is that I want to implement another process in the
>> same application to retrieve information, but with a different
>> schema. For example, docs with attributes X and Y.
>>
>> I tried to set two different schemas in the schema.xml file, but it
>> crashes the Solr instance. Moreover, I've been thinking about a
>> workaround but it's not clear for me. Another point could be
>> creating a new instance of Solr, so that there are two Solr
>> instances open... but I think it's not a real solution.
>>
>> Regards, Borja.
>>
>>
>>
>> -- View this message in context:
>> http://lucene.472066.n3.nabble.com/Several-indexes-tp4014181.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>
>
>
> --
> Jochen Just                   Fon:   (++49) 711/28 07 57-193
> avono AG                      Mobil: (++49) 172/73 85 387
> Breite Straße 2               Mail:  jochen.j...@avono.de
> 70173 Stuttgart               WWW:   http://www.avono.de

Reply via email to