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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]