Accessing "Text" type fields in Lucene
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Michael_Ajose
Posted On:   Tuesday, July 6, 2004 10:07 AM

I'm trying to access the Text fields of indexed documents. The fields each have associated FileReaders to read in the contents of a file. However, I am unable to access these fields. Can anyone suggest any documentation which will enable me to overcome this problem?

Re: Accessing "Text" type fields in Lucene

Posted By:   Otis_Gospodnetic  
Posted On:   Tuesday, July 6, 2004 09:06 PM

The problem is that when you create Fields with Reader, the original contents of the field does not get stored. Use the Field.Text(String,String) method instead.
About | Sitemap | Contact