mirror of https://github.com/apache/lucene.git
Updated for change to DocumentWriter.java.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150158 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c03491e6a2
commit
fb13af2325
|
@ -12,6 +12,15 @@ $Id$
|
||||||
3. Added a new method IndexReader.setNorm(), that permits one to
|
3. Added a new method IndexReader.setNorm(), that permits one to
|
||||||
alter the boosting of fields after an index is created.
|
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
|
1.3 RC3
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue