Home » lucene-3.0.1-src » org.apache » lucene » search » [javadoc | source]
org.apache.lucene.search
public interface: ExtendedFieldCache [javadoc | source]

All Implemented Interfaces:
    FieldCache

All Known Implementing Classes:
    ExtendedFieldCacheImpl

Nested Class Summary:
public interface  ExtendedFieldCache.LongParser   
public interface  ExtendedFieldCache.DoubleParser   
Field Summary
public static  ExtendedFieldCache EXT_DEFAULT     
Method from org.apache.lucene.search.ExtendedFieldCache Summary:
getDoubles,   getDoubles,   getLongs,   getLongs
Method from org.apache.lucene.search.ExtendedFieldCache Detail:
 public double[] getDoubles(IndexReader reader,
    String field) throws IOException
    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.
 public double[] getDoubles(IndexReader reader,
    String field,
    DoubleParser parser) throws IOException
    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.
 public long[] getLongs(IndexReader reader,
    String field) throws IOException
    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.
 public long[] getLongs(IndexReader reader,
    String field,
    LongParser parser) throws IOException
    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.