rmuir commented on pull request #2427: URL: https://github.com/apache/lucene-solr/pull/2427#issuecomment-785218829
I'm not very familiar with the suggester here, but when I see optimizations like this, it reminds me of automata intersection with lucene's term dictionary (think wildcard/regex pattern queries, levenshtein fuzzy queries, and the like). Lucene's term dictionary has "next"/"advance" so it is basically an FSTEnum. Maybe some tricks from that logic can give you ideas? https://github.com/apache/lucene-solr/blob/master/lucene/core/src/java/org/apache/lucene/index/AutomatonTermsEnum.java ---------------------------------------------------------------- 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