On Dec 4, 2007 3:11 PM, Norskog, Lance <[EMAIL PROTECTED]> 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