« Return to Thread: out of heap space, every day

Re: out of heap space, every day

by Yonik Seeley :: Rate this Message:

Reply to Author | View in Thread

On Dec 4, 2007 3:11 PM, Norskog, Lance <lance@...> wrote:
> "String[nTerms()]": Does this mean that you compare the first term, then
> the second, etc.? Otherwise I don't understand how to compare multiple
> terms in two records.

Lucene sorting only supports a single term per document for a field.
The String array stores all the value of all the unique terms (so
nTerms() above should be numberUniqueTerms)

See Lucene's FieldCache.StringIndex

-Yonik

 « Return to Thread: out of heap space, every day