Better karate chop: Do the above and shell out 500 bucks for another 16G RAM in the server while you're at it. That way you won't wind up navigating an object graph that's been paged to disk (Lucene terms are all loaded into memory while the index is open, could be 20,000 terms or closer to a million if you have a whole bunch of unique IDs)