So "content" is a String variable in your program holding a multi-line value, is it? I'd double check exactly what that is holding before you store it in the index.
-- Ian. On Mon, Jul 16, 2012 at 4:56 AM, sam <hairen...@yahoo.com.cn> wrote: > I had done that,I used the docment.add(new > field("content",content,field.store.yes,filed.analyzer.yes));i have used > while loop to set the content like while((str=reader.readline)!=null) ,But > when i used document.get("content"),i can only get the first LIne. > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/about-some-date-store-tp3994330p3995193.html > Sent from the Lucene - Java Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org