Lucene是否支持具有多个字段值的分面搜索 [英] Does Lucene support Faceted Search with Multiple Field Values

查看:77
本文介绍了Lucene是否支持具有多个字段值的分面搜索的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在从 http://www.devatwork.nl/index.php/articles/lucenenet/faceted-search-and-drill-down-lucenenet/

作者没有说Lucene是否支持在每个字段中存储多个值.

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.

谢谢

武当

推荐答案

Core Lucene不支持多值多面查询,但是这些扩展项目支持:

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

这篇关于Lucene是否支持具有多个字段值的分面搜索的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆