Search documents which contain a document

Hi,

How about using terms facet?
May be if you can elaborate more on how you want to present the results to
the users.

Regards,
Lukas

On Mon, Apr 4, 2011 at 1:19 PM, Julien Duponchelle <
julien.duponchelle@gmail.com> wrote:

Yes, but can i avoid to push book information in publisher document?

On Mon, Apr 4, 2011 at 12:56, Lukáš Vlček lukas.vlcek@gmail.com wrote:

Hi,

I think the most naive solution could be giving the publisher field a high
boost during indexing?

Regards,
Lukas

On Mon, Apr 4, 2011 at 11:21 AM, Julien Duponchelle <
julien.duponchelle@gmail.com> wrote:

Hi,

I have the following problem.

I need to index books and publishers. I create two type of documents:

  • publisher
  • book

A publisher can publish a lot of book and a book can be publish by
many publisher.

I need to be able to search a publisher by publisher name (ex:
Penguin) or by book title (ex: Harry Potter) in the same text input.

If i search Penguin i want the publisher Penguin before publisher who
publish books about penguins.

My first try was to push information about book in publisher
documents, but that require two modify the publisher document each
time we add a book but this slow the indexation because we can't index
two books from the same publisher at the same time.

Have you a better solution for that problem?

Thanks by advance