apache / lucene

Apache Lucene open-source search software
https://lucene.apache.org/
Apache License 2.0
2.45k stars 973 forks source link

lucene-monitor: make TermFilteredPresearcher.ANYTOKEN[_FIELD] public #13379

Closed cpoerschke closed 1 month ago

cpoerschke commented 1 month ago

This would allow applications -- e.g. @kotman12's https://github.com/apache/solr/pull/2382 -- to schematically validate the field w.r.t. existence and field type properties.

A more complex alternative solution would be to make things optionally configurable i.e. then applications 'know' what was configured and thus can validate it.