Or you may simple store the field as is, but index it in whatever way you like (replacing some tokens with other, or maybe storing both words with position increment = 0).
On Mon, Jan 16, 2012 at 13:23, Dmytro Barabash <d.barab...@gmail.com> wrote: > I think you need index this field with > org.apache.lucene.document.Field.TermVector != NO > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > >