You could implement a custom search component that takes the pages found by the query and then re-queries to find the book-level documents and adds them to the search results. Or, you could even have a query/parameter that found the pages but then discarded them and only kept the book metadata.

-- Jack Krupansky

-----Original Message----- From: denl0
Sent: Wednesday, November 21, 2012 4:01 AM
To: solr-user@lucene.apache.org
Subject: Re: Solr defining Schema structure trouble.

isn't it possible to combine the document related values and page related
values at query time?

Book1
Page1 with ref to book1
Page2 with ref to book2

When querying making all pages (page1+book1) and (page2+book1) Or would this
be hard to achieve.

I'm pretty sure they wan't to search on book related metadata too.



--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-defining-Schema-structure-trouble-tp4020305p4021531.html Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to