On 13/02/2023 12:59, David Habgood wrote:
Hi Jena Users, I'm interested in extending the Jena Lucene capabilities to include Lucene's faceted search ( https://javadoc.io/doc/org.apache.lucene/lucene-facet/latest/index.html).
https://lucene.apache.org/core/9_5_0/demo/org/apache/lucene/demo/facet/package-summary.html
As far as I can tell from searching the mailing list (and github) the Lucene faceted search capability hasn't been exposed in Jena before. I think it could be exposed as follows: 1. Defining how faceted search concepts can be expressed in the Jena dataset configuration 2. Extending the current indexing code to also generate the facet index based on definitions in 1. 3. Adding a new query function for faceted search e.g. text:facet Keen to hear if anyone can see issues with this approach or has other feedback. Thanks David