lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidimagination.com>
Subject Re: Question about string retrieval with FieldCache in trunk
Date Wed, 18 Aug 2010 14:54:42 GMT
Check out getTerms and getTermsIndex

-Yonik
http://www.lucidimagination.com

On Wed, Aug 18, 2010 at 10:49 AM,  <karl.wright@nokia.com> wrote:
> Hi folks,
>
> What is the proper way to retrieve a string field from lucene in trunk?  I’m
> specifically looking for the equivalent of:
>
> String[] fieldValues = FieldCache.DEFAULT.getStrings(reader,fieldName);
> String actualValue = fieldValues[luceneID-docBase];
>
> The getStrings() method seems to have gone away in FieldCache.java, and it’s
> not clear how to work with ByteRefs to do the equivalent.  Any hints?
>
> Karl
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message