Apache Solr open-source search software
- Fix for bug 28960 (http://issues.apache.org/bugzilla/show_bug.cgi?id=28960)
Otis Gospodneticd6a64bf03e8c
diff --git a/CHANGES.txt b/CHANGES.txtindex 9652cb29cb0..5f0a9231d06 100644--- a/CHANGES.txt+++ b/CHANGES.txt@@ -2,6 +2,12 @@ Lucene Change Log$Id$+1.4 RC4++ 1. Added "an" to the list of stop words in StopAnalyzer, to complement+ the existing "a" there. Fix for bug 28960+ (http://issues.apache.org/bugzilla/show_bug.cgi?id=28960). (Otis)+1.4 RC31. Fixed several search bugs introduced by the skipTo() changes indiff --git a/src/java/org/apache/lucene/analysis/StopAnalyzer.java b/src/java/org/apache/lucene/analysis/StopAnalyzer.javaindex 077ffef368c..d0390cd93e5 100644--- a/src/java/org/apache/lucene/analysis/StopAnalyzer.java+++ b/src/java/org/apache/lucene/analysis/StopAnalyzer.java@@ -27,7 +27,7 @@ public final class StopAnalyzer extends Analyzer {/** An array containing some common English words that are not usually usefulfor searching. */public static final String[] ENGLISH_STOP_WORDS = {- "a", "and", "are", "as", "at", "be", "but", "by",+ "a", "an", "and", "are", "as", "at", "be", "but", "by","for", "if", "in", "into", "is", "it","no", "not", "of", "on", "or", "s", "such","t", "that", "the", "their", "then", "there", "these",