lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chitra <>
Subject Filter support for string faceting
Date Wed, 04 Oct 2017 16:37:34 GMT
     As of now, we are implementing faceting (for string fields, indexed
under '$facets' SortedSetDocValueField & for numeric field, gives counts by
numeric range faceting) using Lucene doc values support.

   Our new use-case is to filter the matching documents(for the given
search query) for every/specific dimension facets counts computation. And
this was supported for numeric range faceting using
field, ValueSource valueSource, FacetsCollector hits, Filter
fastMatchFilter, LongRange... ranges) which provided filter as a fast
match: only documents passing the filter are checked for the matching

For numeric fields, I can use filter1 in field1 facets counts computation,
filter2 in field2, filter3 in field3 and so on.

Likewise, Is there any way to achieve this behavior in Lucene string

Any help is much appreciated.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message