lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doron Cohen" <cdor...@gmail.com>
Subject Re: problem in indexing documents
Date Wed, 26 Dec 2007 06:13:33 GMT
>
> >            document.add(new Field("contents",sb.toString(),
> > Field.Store.NO, Field.Index.TOKENIZED));
>

In addition, for tokenized but not stored like here, the Field()
constructor that takes a Reader param can be handy here.

Regards, Doron

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message