Vu Dang
Vu Dang

Reputation: 1

Does Lucene support Faceted Search with Multiple Field Values

I am reading this article from http://www.devatwork.nl/index.php/articles/lucenenet/faceted-search-and-drill-down-lucenenet/

The author did not say whether Lucene support storing multiple values in each field.

To follow the example in the article, a book may have multiple genres and multiple authors.

Is it possible to store more than one genres in the genre field?

Is it also possible to perform searches using multiple genres or multiple authors? The result should return a document if matching one or more of the query genres and matching one or more of the authors.

Thanks,

Vu Dang

Upvotes: 0

Views: 1921

Answers (2)

z12345
z12345

Reputation: 2216

Core Lucene doesn't support multi-valued faceted queries, but these extension projects do:

Upvotes: 1

Related Questions