Hi Ankur, Indeed I don't think this is an option, in FacetsConfig today?
I think it makes sense to add one ... it should be fairly simple. Just follow how the "foo" level (dimension only) drilldown option was added in LUCENE-8367? Could you open an issue? Thanks! Mike McCandless http://blog.mikemccandless.com On Tue, May 26, 2020 at 4:10 PM Ankur Goel <[email protected]> wrote: > (forgot to put subject in previous e-mail, resending) > > Hello Folks, > We have been using faceted search feature of lucene in our search > application without the feature that lets you drill down on a facet > dimension. > With https://issues.apache.org/jira/browse/LUCENE-8367 you get the > ability to skip indexing drill-down terms for top level dimension - '*foo*' > for path '*foo/bar*'. > > However, a StringField still gets created for path *'foo/bar*' which will > never be queried in our application wasting index space. > Ideally we would like `o.a.l.f.FacetsConfig` to provide an option to skip > indexing drill-down terms all together. > > I wonder if community has other ideas on this. > > Thanks > -Ankur >
