lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ehatc...@apache.org
Subject svn commit: r348061 - /lucene/java/trunk/CHANGES.txt
Date Sat, 03 Dec 2005 22:14:00 GMT
Author: ehatcher
Date: Mon Nov 21 17:46:46 2005
New Revision: 348061

URL: http://svn.apache.org/viewcvs?rev=348061&view=rev
Log:
added getPositionIncrementGap(String fieldName) to Analyzer

Modified:
    lucene/java/trunk/CHANGES.txt

Modified: lucene/java/trunk/CHANGES.txt
URL: http://svn.apache.org/viewcvs/lucene/java/trunk/CHANGES.txt?rev=348061&r1=348060&r2=348061&view=diff
==============================================================================
--- lucene/java/trunk/CHANGES.txt (original)
+++ lucene/java/trunk/CHANGES.txt Mon Nov 21 17:46:46 2005
@@ -199,6 +199,14 @@
     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



Mime
View raw message