On Mar 30, 2005, at 4:46 PM, Yagnesh Shah wrote:

Hi! Eric,

Erik - with a 'k' - Sorry, I let it slide once though :)

I try to modified that with this but I get compile error. Do you have any code snippet of highlighting code to pull the contents from the original source?

I have a whole book full of code examples :) http://www.lucenebook.com - Grab the source code and look in src/lia/tools at Highlight*.java


 or Do you know how I can do field store?

doc.add(new Field("contents", parser.getReader(), Field.Store.YES, Field.Index.NO));

You cannot store it with a Reader. You need to use Field.Text(String, String), or one of the other variations.


        Erik


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to