lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeffthorne <>
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,

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,

View this message in context:
Sent from the Lucene - Java Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message