Ok, thx for your answer.
Yea I have seen the property "Field.Store.YES"...but this does not work if
you create the field "contents" by directly butting in it the "reader":
//open a file input stream for the file f
FileInputStream is = new FileInputStream(f);
java.io.Reader reader = new BufferedReader(new
InputStreamReader(is));
//create a new field for the contents
Field textContents = new Field(
"contents", reader);
--
View this message in context:
http://www.nabble.com/Developper-Question---Highlighting-t1366797.html#a3666437
Sent from the Lucene - Java Developer forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]