Re: Improving disk efficiency for autocompleter / spellchecker

2011-06-10 Thread Ian Lea
Not opening the index for every keypress should make a big difference! Most of the tips in http://wiki.apache.org/lucene-java/ImproveSearchingSpeed will apply. -- Ian. On Fri, Jun 10, 2011 at 1:52 PM, Elmer wrote: > Hello again :) > > I've created a autocompleter class, based on the contrib

Improving disk efficiency for autocompleter / spellchecker

2011-06-10 Thread Elmer
Hello again :) I've created a autocompleter class, based on the contrib SpellChecker source code (it creates start1-20 grams, no middle/end grams). The use case for this class, as with most autocompleters, is that it is called on each keypress from the user. What happens is, that on each keypress,