mirror of https://github.com/apache/lucene.git
don't use the deprecated API in the documentation example
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150618 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3b15d36d38
commit
8a37ed97d9
|
@ -29,8 +29,8 @@ import java.io.Serializable;
|
|||
* and does not need to be stored (unless you happen to want it back with the
|
||||
* rest of your document data). In other words:
|
||||
*
|
||||
* <dl><dd><code>document.add (new Field ("byNumber", Integer.toString(x), false, true, false));</code>
|
||||
* </dd></dl>
|
||||
* <p><code>document.add (new Field ("byNumber", Integer.toString(x), Field.Store.NO, Field.Index.UN_TOKENIZED));</code></p>
|
||||
*
|
||||
*
|
||||
* <p><h3>Valid Types of Values</h3>
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue