lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject Question about string retrieval with FieldCache in trunk
Date Wed, 18 Aug 2010 14:49:29 GMT
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, and it's not clear how
to work with ByteRefs to do the equivalent.  Any hints?


View raw message