From fb13af232565646bf5ae014cb5ca0b339c6bd1db Mon Sep 17 00:00:00 2001 From: Doug Cutting Date: Mon, 22 Dec 2003 21:42:48 +0000 Subject: [PATCH] Updated for change to DocumentWriter.java. git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150158 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CHANGES.txt b/CHANGES.txt index 032a9c9b94b..91ea3a5136d 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -12,6 +12,15 @@ $Id$ 3. Added a new method IndexReader.setNorm(), that permits one to alter the boosting of fields after an index is created. + 4. Distinguish between the final position and length when indexing a + field. The length is now defined as the total number of tokens, + instead of the final position, as it was previously. Length is + used for score normalization (Similarity.lengthNorm()) and for + controlling memory usage (IndexWriter.maxFieldLength). In both of + these cases, the total number of tokens is a better value to use + than the final token position. Position is used in phrase + searching (see PhraseQuery and Token.setPositionIncrement()). + 1.3 RC3