Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

lucene 2.3 update

Yonik Seeleyfdf340d59a7e
diff --git a/CHANGES.txt b/CHANGES.txt
index f75c6be3cdd..0dc87b8dd7b 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -286,6 +286,8 @@ Other Changes
introduces new escaping and whitespace handling options to
increase compatibility with different formats. (yonik)
+ 8. Upgraded to Lucene 2.3.0; Jan 23, 2008.
+
Build
1. SOLR-411. Changed the names of the Solr JARs to use the defacto standard JAR names based on
project-name-version.jar. This yields, for example:
diff --git a/lib/lucene-analyzers-2.2.0.jar b/lib/lucene-analyzers-2.2.0.jar
deleted file mode 100644
index e6c5f1475b7..00000000000
--- a/lib/lucene-analyzers-2.2.0.jar
+++ /dev/null
@@ -1,2 +0,0 @@
-AnyObjectId[7e37b7319ee70a2c31c889941c1d0e9e7f5e929a] was removed in git history.
-Apache SVN contains full history.
\ No newline at end of file
diff --git a/lib/lucene-analyzers-2.3.0.jar b/lib/lucene-analyzers-2.3.0.jar
new file mode 100644
index 00000000000..4b0fb8b1614
--- /dev/null
+++ b/lib/lucene-analyzers-2.3.0.jar
@@ -0,0 +1,2 @@
+AnyObjectId[f2d7206f426fb880d393bd034eb61cafc11c07e1] was removed in git history.
+Apache SVN contains full history.
\ No newline at end of file
diff --git a/lib/lucene-core-2.2.0.jar b/lib/lucene-core-2.2.0.jar
deleted file mode 100644
index 6555bee43e6..00000000000
--- a/lib/lucene-core-2.2.0.jar
+++ /dev/null
@@ -1,2 +0,0 @@
-AnyObjectId[2469481c389724f51f6de88e5d76a82b18cad96b] was removed in git history.
-Apache SVN contains full history.
\ No newline at end of file
diff --git a/lib/lucene-core-2.3.0.jar b/lib/lucene-core-2.3.0.jar
new file mode 100644
index 00000000000..ed0eed32a92
--- /dev/null
+++ b/lib/lucene-core-2.3.0.jar
@@ -0,0 +1,2 @@
+AnyObjectId[78cfdea29c4944cb22a5180781aeba9b94ff7c23] was removed in git history.
+Apache SVN contains full history.
\ No newline at end of file
diff --git a/lib/lucene-highlighter-2.2.0.jar b/lib/lucene-highlighter-2.2.0.jar
deleted file mode 100644
index 4d9a6b40e8e..00000000000
--- a/lib/lucene-highlighter-2.2.0.jar
+++ /dev/null
@@ -1,2 +0,0 @@
-AnyObjectId[c91579e65ef45fcdcd20bf4ddcbacd62fe0f847e] was removed in git history.
-Apache SVN contains full history.
\ No newline at end of file
diff --git a/lib/lucene-highlighter-2.3.0.jar b/lib/lucene-highlighter-2.3.0.jar
new file mode 100644
index 00000000000..b827e6bbeb8
--- /dev/null
+++ b/lib/lucene-highlighter-2.3.0.jar
@@ -0,0 +1,2 @@
+AnyObjectId[794a5ddab129d063a115b2f7cfd0abbb9b3b71be] was removed in git history.
+Apache SVN contains full history.
\ No newline at end of file
diff --git a/lib/lucene-queries-2.2.0.jar b/lib/lucene-queries-2.2.0.jar
deleted file mode 100644
index 71e07da5a8b..00000000000
--- a/lib/lucene-queries-2.2.0.jar
+++ /dev/null
@@ -1,2 +0,0 @@
-AnyObjectId[5cce789b22c6eef39915bbc3e6dc611e767316e7] was removed in git history.
-Apache SVN contains full history.
\ No newline at end of file
diff --git a/lib/lucene-queries-2.3.0.jar b/lib/lucene-queries-2.3.0.jar
new file mode 100644
index 00000000000..f70ef141d45
--- /dev/null
+++ b/lib/lucene-queries-2.3.0.jar
@@ -0,0 +1,2 @@
+AnyObjectId[c4e82ea75419874095d31072428608c7144e1e4f] was removed in git history.
+Apache SVN contains full history.
\ No newline at end of file
diff --git a/lib/lucene-snowball-2.2.0.jar b/lib/lucene-snowball-2.2.0.jar
deleted file mode 100644
index 46f2bd6dd3f..00000000000
--- a/lib/lucene-snowball-2.2.0.jar
+++ /dev/null
@@ -1,2 +0,0 @@
-AnyObjectId[aff0162e9532361ea335def30afef5704fcef23b] was removed in git history.
-Apache SVN contains full history.
\ No newline at end of file
diff --git a/lib/lucene-snowball-2.3.0.jar b/lib/lucene-snowball-2.3.0.jar
new file mode 100644
index 00000000000..dcd899009d4
--- /dev/null
+++ b/lib/lucene-snowball-2.3.0.jar
@@ -0,0 +1,2 @@
+AnyObjectId[2c521e8b4fd1cd17e79d1a3cbcea8565a1b3b546] was removed in git history.
+Apache SVN contains full history.
\ No newline at end of file
diff --git a/lib/lucene-spellchecker-2.2.0.jar b/lib/lucene-spellchecker-2.2.0.jar
deleted file mode 100644
index 6c418b2a4a0..00000000000
--- a/lib/lucene-spellchecker-2.2.0.jar
+++ /dev/null
@@ -1,2 +0,0 @@
-AnyObjectId[1076dc5ee596907df4ca24ddc10d43b8a97b0942] was removed in git history.
-Apache SVN contains full history.
\ No newline at end of file
diff --git a/lib/lucene-spellchecker-2.3.0.jar b/lib/lucene-spellchecker-2.3.0.jar
new file mode 100644
index 00000000000..0e25387ead8
--- /dev/null
+++ b/lib/lucene-spellchecker-2.3.0.jar
@@ -0,0 +1,2 @@
+AnyObjectId[bc64923217907588a63ac259c45f257137d420a5] was removed in git history.
+Apache SVN contains full history.
\ No newline at end of file
diff --git a/src/java/org/apache/solr/analysis/StopFilterFactory.java b/src/java/org/apache/solr/analysis/StopFilterFactory.java
index 0fec68c0e9b..e4a46d544f2 100644
--- a/src/java/org/apache/solr/analysis/StopFilterFactory.java
+++ b/src/java/org/apache/solr/analysis/StopFilterFactory.java
@@ -43,10 +43,12 @@ public class StopFilterFactory extends BaseTokenFilterFactory implements Resourc
} catch (IOException e) {
throw new RuntimeException(e);
}
+ } else {
+ stopWords = StopFilter.makeStopSet(StopAnalyzer.ENGLISH_STOP_WORDS, ignoreCase);
}
}
- private Set stopWords = StopFilter.makeStopSet(StopAnalyzer.ENGLISH_STOP_WORDS);
+ private Set stopWords;
private boolean ignoreCase;
public StopFilter create(TokenStream input) {