From 4424265faf8e558a359dd745d8d96134335aae86 Mon Sep 17 00:00:00 2001 From: Erik Hatcher Date: Tue, 22 Nov 2005 01:46:46 +0000 Subject: [PATCH] added getPositionIncrementGap(String fieldName) to Analyzer git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@348061 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CHANGES.txt b/CHANGES.txt index b1120fc2c45..628645a0023 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -199,6 +199,14 @@ New features long and too short from the stream. (David Spencer via Otis and Daniel) +31. Added getPositionIncrementGap(String fieldName) to Analyzer. This allows + custom analyzers to put gaps between Field instances with the same field + name, preventing phrase or span queries crossing these boundaries. The + default implementation issues a gap of 0, allowing the default token + position increment of 1 to put the next field's first token into a + successive position. + (Erik Hatcher, with advice from Yonik) + API Changes 1. Several methods and fields have been deprecated. The API documentation