Hi, I have a stored and tokenized field, and I want to cache all the field 
values. 

I have one document in the index, with the  "field.value"  =>   "hello world"   
and with tokens   => "hello", "world". 
I try to extract the fields content : 
String [] cachedFields  =  FieldCache.DEFAULT.getStrings(reader, 
field.getName());

The content of the cachedFields array is ["hello"]. 

When I try to index other documents, I get also "null" as the value of the 
field.

Can somebody help me with that?

Thank you in advance!
                                          

Reply via email to