You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by André Maldonado <an...@gmail.com> on 2010/02/23 14:10:05 UTC
Faceted search in 2 indexes
Hi all.
I have 2 indexes with some similar fields and some distinct fields. I need
to make a faceted search that returns the union of the same search in these
2 indexes.
How can I make it?
Thank's
"Então aproximaram-se os que estavam no barco, e adoraram-no, dizendo: És
verdadeiramente o Filho de Deus." (Mateus 14:33)
Re: Faceted search in 2 indexes
Posted by Kranti™ K K Parisa <kr...@gmail.com>.
Hi,
Even I am looking for a solution for this.
case:
Index1: has the meta data and the contents of the files (basically read only
for the end users)
Index2: will have the tags attached to the search results that user may get
out of index1 (so read/write).
so next time when user searches it again, we have to display the results
along with the tags attached by that user (previously). and also display
some facets for the tags.
please give some ideas/suggestions.
Best Regards,
Kranti K K Parisa
2010/2/23 André Maldonado <an...@gmail.com>
> Hi all.
>
> I have 2 indexes with some similar fields and some distinct fields. I need
> to make a faceted search that returns the union of the same search in these
> 2 indexes.
>
> How can I make it?
>
> Thank's
>
> "Então aproximaram-se os que estavam no barco, e adoraram-no, dizendo: És
> verdadeiramente o Filho de Deus." (Mateus 14:33)
>
Re: Faceted search in 2 indexes
Posted by Chris Hostetter <ho...@fucit.org>.
: I have 2 indexes with some similar fields and some distinct fields. I need
: to make a faceted search that returns the union of the same search in these
: 2 indexes.
:
: How can I make it?
Assuming you don't need facets or sorting on the fields that are distinct
between the two indexes (which wouldn't make any sense), and assuming the
"similar" fields include the uniqueKeyField, you can probably solve this
using a distributed search query, where your "coordinator" usees
schema.xml that is the union of the other schema.xml files (so that it
knows how to format the fields that are distinct to each of the two
indexes)
-Hoss