romseygeek commented on a change in pull request #1467: URL: https://github.com/apache/lucene-solr/pull/1467#discussion_r418480740
########## File path: lucene/core/src/java/org/apache/lucene/search/FuzzyQuery.java ########## @@ -193,7 +172,7 @@ protected TermsEnum getTermsEnum(Terms terms, AttributeSource atts) throws IOExc if (maxEdits == 0 || prefixLength >= term.text().length()) { // can only match if it's exact return new SingleTermsEnum(terms.iterator(), term.bytes()); } - return new FuzzyTermsEnum(terms, atts, getTerm(), termLength, maxEdits, automata); + return new FuzzyTermsEnum(terms, atts, getTerm(), maxEdits, prefixLength, transpositions); Review comment: Good idea, will update ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org