Gert,

You could:
* run 1 Solr instance with N cores. Each core would have a different 
flavour/stack of otherwise the same schema
* run 1 Solr instance with 1 core and in it N copies of each fiel, each copy 
with its flavour/stack
* run N Solr instances, each with a different flavour/stack of otherwise the 
same schema


If I had to do this, I'd go with the first option - it's the last management, 
not super resource hungry, and I each stack would be cleanly and truly 
separate. 
Otis
----
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/



----- Original Message ----
> From: "Villemos, Gert" <gert.ville...@logica.com>
> To: solr-user@lucene.apache.org
> Sent: Thu, April 15, 2010 5:19:52 AM
> Subject: Supporting multiple index / query analyzer stacks
> 
> Having developed a system based on SOLr, we are now optimizing the
ranking of 
> the search results to give the user a better search
experience.


> 

We would like to create multiple index / query analyzer stacks in 
> the
SOLr configuration to test how this affects the results. We would 
> index
the same text field with all stacks and then at runtime allow the 
> user
to select the stack to be used to execute the search. He can 
> thus
perform the same search in for example 5 ways, and tell us which 
> search
stack gave him the best set of results.



How can we do 
> this?



We were thinking along the 
> lines:

*    In the schema.xml define the different index / 
> query stacks for
different field types ("text_stack1", "text_stack2", 
> "text_stack3",...).
*    Create a field of each type 
> ("<field name="text_s1"
type="text_stack1" ...>", "<field 
> name="text_s2" type="text_stack2"
...>", ...).
*    
> Create a copy field definition, copying the same text into the
five different 
> fields ("<copyField source="text_in" dest="text_s1">",
"<copyField 
> source="text_in" dest="text_s2">", ...).



Is this the smart 
> way of doing it? Is there a better way?


> 

Thanks,

Gert.



Please help Logica to respect the 
> environment by not printing this email  / Pour contribuer comme Logica au 
> respect de l'environnement, merci de ne pas imprimer ce mail /  Bitte 
> drucken Sie diese Nachricht nicht aus und helfen Sie so Logica dabei, die 
> Umwelt 
> zu schützen. /  Por favor ajude a Logica a respeitar o ambiente nao 
> imprimindo este correio electronico.



This e-mail and any 
> attachment is for authorised use by the intended recipient(s) only. It may 
> contain proprietary material, confidential information and/or be subject to 
> legal privilege. It should not be copied, disclosed to, retained or used by, 
> any 
> other party. If you are not an intended recipient then please promptly delete 
> this e-mail and any attachment and all copies and inform the sender. Thank 
> you.

Reply via email to