Re: warm up lucene, especially sort by cache

2005-03-02 Thread Doug Cutting
Morus Walter wrote: So if you use sort, doing one sort after creating the index might be useful. Yes, this is a good way to pre-load lots of things. For reading relevant parts of the index into OS caches, I'd rather use the most commonly searched terms, than the most frequent ones. If the index was

Re: warm up lucene, especially sort by cache

2005-03-02 Thread Morus Walter
Chris Lu writes: > 1. Need an efficient way to pick up the most frequent words in an index. > I think this can be done, any example will be appreciated. I don't see an alternative to looping through all terms and look at their frequency. > 2. search by the most freqent words, with sort by opti