java.lang.Objectorg.apache.lucene.search.SortComparator
All Implemented Interfaces:
SortComparatorSource
This class should only be used if the other SortField types (SCORE, DOC, STRING, INT, FLOAT) do not provide an adequate sorting. It maintains an internal cache of values which could be quite large. The cache is an array of Comparable, one for each document in the index. There is a distinct Comparable for each unique term in the field - if some documents have the same term in the field, the cache array will have entries which reference the same Comparable.
Created: Apr 21, 2004 5:08:38 PM
$ - Id: SortComparator.java 564236 2007-08-09 15:21:19Z gsingers $1.4 - | Method from org.apache.lucene.search.SortComparator Summary: |
|---|
| getComparable, newComparator |
| Methods from java.lang.Object: |
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from org.apache.lucene.search.SortComparator Detail: |
|---|
For example, if the Terms contained integer values, this method
would return |
|