Thanks for the response Mike and pointing me in the right direction.
I see that
TextField is indexed, tokenized, without term vectors
StringField is indexed, but not tokenized
If I wanted a stored field that is tokenized with stored term vectors would
this be the recommended approach?
Thanks again for the help Mike. Much appreciated.
Have a good one,
Jeff
--
View this message in context:
http://lucene.472066.n3.nabble.com/Field-Index-deprecation-tp4050068p4050766.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
I am new to Lucene and going through the Lucene in Action 2nd edition book. I
have a quick question on the best way to add fields to a document now that
Field.Index is deprecated.
Here is what I am doing and what most example online suggest:
doc.add(new Field(id, dbID, Store.YES,