Lucene's FuzzyQuery is 100 times faster in 4.0 (2011)
blog.mikemccandless.com
blog.mikemccandless.com
The Python code; does it execute at runtime as part of Lucene, or is it only used in the build phase, to generate Java code which executes as part of Lucene? It sounds like the Python code implements the DFA generation, which would have to happen at runtime, surely?
Hnggg
If I wrote this code, I don't think I could ever convince myself I did it correctly.
I once had to build an Oracle PL/SQL interface for a rather complicated integration project between two old systems and the business requirements for what had to go where changed daily.
In the end I opted to code generate the PL/SQL interface and supporting code from a spreadsheet that the business always kept up-to-date with the latest changes to the requirements. Ultimately they could change things to their hearts' content and I would only have to press a button to re-generate it all.