You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by dn...@apache.org on 2004/10/19 00:36:54 UTC
cvs commit: jakarta-lucene/src/java/org/apache/lucene/search Sort.java
dnaber 2004/10/18 15:36:54
Modified: src/java/org/apache/lucene/search Sort.java
Log:
don't use the deprecated API in the documentation example
Revision Changes Path
1.10 +3 -3 jakarta-lucene/src/java/org/apache/lucene/search/Sort.java
Index: Sort.java
===================================================================
RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/search/Sort.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- Sort.java 5 Sep 2004 22:53:37 -0000 1.9
+++ Sort.java 18 Oct 2004 22:36:54 -0000 1.10
@@ -29,8 +29,8 @@
* 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>
*
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org