lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fisheye <des...@gmx.ch>
Subject Re: Developper Question - Highlighting
Date Thu, 30 Mar 2006 09:00:31 GMT

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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message