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