Hi all:
Is in solr, that will allow documents referring each other ? In
other words, if a search for "abc" matches on document 1 , I should be able
to return document 2 even though the index does any fields matching "abc".
Here is the scenario with some more details:
Solr version:1.3
Scenario:
1) Solr Document 1 with say some field title="abc" and Solr Document 2 with
its own data.
2) User searches for "abc" and gets Document 1 as it matches on title field
Expected results:
When the user searches for "abc" he it also get Document 2 along with
Document 1.
I understand one way of doing this is to make sure Document 2 has all the
contents of Document 1. But this introduces a issue of keeping the two
documents (and hence their solr index) in sync with each other.
I think I am looking for a mechanism like this:
Document 1 refers => document 2, Document 3.
Hence whenever document 1 in part of search results, document 2 and document
3 will also be returned as search results .
I may be totally off on this expectation but am trying to solve a "Contains"
problem where lets say a book (represented as Document 1 in solr) "contains"
Chapters (represented by Document 2,3,4..) in solr.
I hope this is not too confusing ;)
TIA
~Ravi Gidwani
--
View this message in context:
http://www.nabble.com/refering-alias-other-Solr-documents-tp24713855p24713855.html
Sent from the Solr - User mailing list archive at Nabble.com.