lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeffthorne <jeff.tho...@gmail.com>
Subject Field.Index deprecation ?
Date Fri, 22 Mar 2013 15:22:37 GMT
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: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message