lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <>
Subject Re: Question related to using FieldCacheImpl
Date Thu, 06 Apr 2006 19:44:15 GMT
On 4/6/06, John Smith <> wrote:
>    // inherit javadocs
>   public String[] getStrings (IndexReader reader, String field)
>   The string array I get back, is it guaranteed that the first non-null value I encounter
in the array is the minimum value for this field and iterating through the array in the reverse
order, the first non-null value I encounter is the max value for the field?

I think you want getStringIndex()
StringIndex.lookup[1] is the first value, lookup[lookup.length-1] is the last.

-Yonik Solr, The Open Source Lucene Search Server

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message