hossman commented on issue #12100:
URL: https://github.com/apache/lucene/issues/12100#issuecomment-2209648298

   I was reminded of this issue recently, and worked up a patch with the 
improved algorithm and a new test case that shows how even with a lost of 
candidate terms in the index, and a lot of possible suggestions to return, it 
can  find the suggestions with the minimal numChanges more quickly then the old 
depth first approach (as demonstrated by the very small maxEvaluations used 
which is not enough for the old approach to find the expected suggestion.
   
   
[WordBreakSpellChecker.breadthfirst.GH-12100.patch.txt](https://github.com/user-attachments/files/16103465/WordBreakSpellChecker.breadthfirst.GH-12100.patch.txt)
   


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

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

Reply via email to