lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aditya Liviandi <adit...@i2r.a-star.edu.sg>
Subject RE: Developper Question - Highlighting
Date Thu, 30 Mar 2006 09:32:22 GMT
Lucene offers a method in Field that indexes and stores, but it works
for String, not Reader. You might want to use that.

OR

You might just want to add an extra (stored but not indexed) Field using
new Field(String name, byte[] contents, Field.Store store)

I think you can use the same Field name, so your searching code will
still be the same.



--------------------------------------------------- I²R Disclaimer ------------------------------
This email is confidential and may be privileged.  If you are not the intended recipient,
please delete it and notify us immediately. Please do not copy or use it for any purpose,
or disclose its contents to any other person. Thank you.
-------------------------------------------------------------------------------------------------


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


Mime
View raw message