Re: Accessibility of QueryParserBase::handleBareFuzzy

2021-09-21 Thread Chris Hegarty
Thanks Alan, great suggestion. I filed the following issue to track this: https://issues.apache.org/jira/browse/LUCENE-10115 -Chris. > On 20 Sep 2021, at 16:14, Alan Woodward wrote: > > Hi Chris, > > The difference between the elasticsearch query parser and the built-in lucene > one

Re: Accessibility of QueryParserBase::handleBareFuzzy

2021-09-20 Thread Alan Woodward
Hi Chris, The difference between the elasticsearch query parser and the built-in lucene one appears to be based around how they parse fuzziness, so I think the best solution here is to add another protected method, something like this: protected float parseFuzzyDistance(String input, float

Accessibility of QueryParserBase::handleBareFuzzy

2021-09-20 Thread Chris Hegarty
Hi, In an effort to prepare Elasticsearch for modularization, we are investigating and eliminating split packages. The situation has improved through recent refactoring in Lucene 9.0 [1], but a number of split packages still remain. This message identifies one such so that it can be discussed in