Thank you for the suggestion, but that wouldn't work because there could be
multiple authors with the same name, who differ only by ID. If I were to
change the name of an author, I wouldn't know which one should I change and
which one should stay. Additionally, there could be additional author
information, such as external identifiers, that needs to be connected to
the author.

On Mon, Dec 23, 2024 at 11:07 PM Dmitri Maziuk <dmitri.maz...@gmail.com>
wrote:

> On 12/23/24 15:49, Nikola Smolenski wrote:
> ...
> > About the only way of doing this I can think of is to perform the search,
> > get all the found books and authors, then perform another query that
> > fetches all the books and authors referenced by any of books or authors
> in
> > the first query. Is there a smarter way of doing this? What are the best
> > practices?
> >
>
> A book is a "document" that has a title and authors as separate fields.
> Documents usually also have a "big search" field, called _text_ in the
> default config.
>
> Copy both author list and title into _text_, search in _text_, facet on
> authors and/or titles.
>
> Dima
>
>

Reply via email to