Apache Lucene open-source search software
added getPositionIncrementGap(String fieldName) to Analyzer
Erik Hatcher4424265faf8e
diff --git a/CHANGES.txt b/CHANGES.txtindex b1120fc2c45..628645a0023 100644--- a/CHANGES.txt+++ b/CHANGES.txt@@ -199,6 +199,14 @@ New featureslong 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 Changes1. Several methods and fields have been deprecated. The API documentation