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:
Daniel Naber 2004-10-18 22:36:54 +00:00
parent 3b15d36d38
commit 8a37ed97d9
1 changed files with 2 additions and 2 deletions

View File

@ -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>
*