| org.apache.lucene.search.ExtendedFieldCache
All known Subclasses: org.apache.lucene.search.ExtendedFieldCacheImpl,
Inner Class :public interface LongParser | |
Inner Class :public interface DoubleParser | |
Method Summary | |
public double[] | getDoubles(IndexReader reader, String field) Checks the internal cache for an appropriate entry, and if none is
found, reads the terms in field as integers and returns an array
of size reader.maxDoc() of the value each document
has in the given field.
Parameters: reader - Used to get field values. Parameters: field - Which field contains the doubles. | public double[] | getDoubles(IndexReader reader, String field, DoubleParser parser) Checks the internal cache for an appropriate entry, and if none is found,
reads the terms in field as doubles and returns an array of
size reader.maxDoc() of the value each document has in the
given field.
Parameters: reader - Used to get field values. Parameters: field - Which field contains the doubles. Parameters: parser - Computes integer for string values. | public long[] | getLongs(IndexReader reader, String field) Checks the internal cache for an appropriate entry, and if none is
found, reads the terms in field as longs and returns an array
of size reader.maxDoc() of the value each document
has in the given field.
Parameters: reader - Used to get field values. Parameters: field - Which field contains the longs. | public long[] | getLongs(IndexReader reader, String field, LongParser parser) Checks the internal cache for an appropriate entry, and if none is found,
reads the terms in field as longs and returns an array of
size reader.maxDoc() of the value each document has in the
given field.
Parameters: reader - Used to get field values. Parameters: field - Which field contains the longs. Parameters: parser - Computes integer for string values. |
getDoubles | public double[] getDoubles(IndexReader reader, String field) throws IOException(Code) | | Checks the internal cache for an appropriate entry, and if none is
found, reads the terms in field as integers and returns an array
of size reader.maxDoc() of the value each document
has in the given field.
Parameters: reader - Used to get field values. Parameters: field - Which field contains the doubles. The values in the given field for each document. throws: IOException - If any error occurs. |
getDoubles | public double[] getDoubles(IndexReader reader, String field, DoubleParser parser) throws IOException(Code) | | Checks the internal cache for an appropriate entry, and if none is found,
reads the terms in field as doubles and returns an array of
size reader.maxDoc() of the value each document has in the
given field.
Parameters: reader - Used to get field values. Parameters: field - Which field contains the doubles. Parameters: parser - Computes integer for string values. The values in the given field for each document. throws: IOException - If any error occurs. |
getLongs | public long[] getLongs(IndexReader reader, String field) throws IOException(Code) | | Checks the internal cache for an appropriate entry, and if none is
found, reads the terms in field as longs and returns an array
of size reader.maxDoc() of the value each document
has in the given field.
Parameters: reader - Used to get field values. Parameters: field - Which field contains the longs. The values in the given field for each document. throws: java.io.IOException - If any error occurs. |
getLongs | public long[] getLongs(IndexReader reader, String field, LongParser parser) throws IOException(Code) | | Checks the internal cache for an appropriate entry, and if none is found,
reads the terms in field as longs and returns an array of
size reader.maxDoc() of the value each document has in the
given field.
Parameters: reader - Used to get field values. Parameters: field - Which field contains the longs. Parameters: parser - Computes integer for string values. The values in the given field for each document. throws: IOException - If any error occurs. |
|
|