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,
Field.Index.NOT_ANALYZED_NO_NORMS));
What is the new recommended way to set Index properties on Fields with
Field.Index going away? Can't seem to find anything online.
Thanks for the help,
Jeff
--
View this message in context:
http://lucene.472066.n3.nabble.com/Field-Index-deprecation-tp4050068.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]