标签: lucene solr full-text-search
Solr如何支持多值字段的范围查询? (当Lucene本身不支持它时)。
答案 0 :(得分:3)
Lucene确实支持多值字段的范围查询。见下文:
http://lucene.apache.org/java/3_4_0/api/core/org/apache/lucene/document/NumericField.html
http://lucene.apache.org/java/3_4_0/api/core/org/apache/lucene/search/NumericRangeQuery.html