Apache Lucene open-source search software
nuke more contrib references
Robert Muir29f71547d342
diff --git a/lucene/JRE_VERSION_MIGRATION.txt b/lucene/JRE_VERSION_MIGRATION.txtindex 58898498e4e..142ed55cdd1 100644--- a/lucene/JRE_VERSION_MIGRATION.txt+++ b/lucene/JRE_VERSION_MIGRATION.txt@@ -31,6 +31,6 @@ using this Analyzer you are NOT affected.* SimpleAnalyzer, StopAnalyzer, LetterTokenizer, LowerCaseFilter, andLowerCaseTokenizer may return different results, along with many other Analyzers-and TokenStreams in Lucene's contrib area. If you are using one of these+and TokenStreams in Lucene's analysis modules. If you are using one of thesecomponents, you may be affected.diff --git a/lucene/analysis/common/src/java/org/apache/lucene/collation/CollationAttributeFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/collation/CollationAttributeFactory.javaindex ae294c83666..21a101cc394 100644--- a/lucene/analysis/common/src/java/org/apache/lucene/collation/CollationAttributeFactory.java+++ b/lucene/analysis/common/src/java/org/apache/lucene/collation/CollationAttributeFactory.java@@ -51,8 +51,8 @@ import org.apache.lucene.util.AttributeSource;* </li>* </ol>* <p>- * The <code>ICUCollationAttributeFactory</code> in the icu package of Lucene's- * contrib area uses ICU4J's Collator, which makes its+ * The <code>ICUCollationAttributeFactory</code> in the analysis-icu package+ * uses ICU4J's Collator, which makes its* version available, thus allowing collation to be versioned independently* from the JVM. ICUCollationAttributeFactory is also significantly faster and* generates significantly shorter keys than CollationAttributeFactory. Seediff --git a/lucene/analysis/common/src/java/org/apache/lucene/collation/CollationKeyAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/collation/CollationKeyAnalyzer.javaindex 97b6a3f897f..948847e29ed 100644--- a/lucene/analysis/common/src/java/org/apache/lucene/collation/CollationKeyAnalyzer.java+++ b/lucene/analysis/common/src/java/org/apache/lucene/collation/CollationKeyAnalyzer.java@@ -58,8 +58,8 @@ import java.io.Reader;* </li>* </ol>* <p>- * The <code>ICUCollationKeyAnalyzer</code> in the icu package of Lucene's- * contrib area uses ICU4J's Collator, which makes its+ * The <code>ICUCollationKeyAnalyzer</code> in the analysis-icu package+ * uses ICU4J's Collator, which makes its* its version available, thus allowing collation to be versioned* independently from the JVM. ICUCollationKeyAnalyzer is also significantly* faster and generates significantly shorter keys than CollationKeyAnalyzer.diff --git a/lucene/analysis/common/src/java/org/apache/lucene/collation/CollationKeyFilter.java b/lucene/analysis/common/src/java/org/apache/lucene/collation/CollationKeyFilter.javaindex 39ac69916c0..05b10ac0ade 100644--- a/lucene/analysis/common/src/java/org/apache/lucene/collation/CollationKeyFilter.java+++ b/lucene/analysis/common/src/java/org/apache/lucene/collation/CollationKeyFilter.java@@ -55,8 +55,8 @@ import java.text.Collator;* </li>* </ol>* <p>- * The <code>ICUCollationKeyFilter</code> in the icu package of Lucene's- * contrib area uses ICU4J's Collator, which makes its+ * The <code>ICUCollationKeyFilter</code> in the analysis-icu package+ * uses ICU4J's Collator, which makes its* version available, thus allowing collation to be versioned independently* from the JVM. ICUCollationKeyFilter is also significantly faster and* generates significantly shorter keys than CollationKeyFilter. Seediff --git a/lucene/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java b/lucene/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.javaindex ab6b7ca795b..b5edf27fcf6 100644--- a/lucene/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java+++ b/lucene/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java@@ -325,7 +325,7 @@ public class MemoryIndex {* Equivalent to adding a tokenized, indexed, termVectorStored, unstored,* Lucene {@link org.apache.lucene.document.Field}.* Finally closes the token stream. Note that untokenized keywords can be added with this method via- * {@link #keywordTokenStream(Collection)}, the Lucene contrib <code>KeywordTokenizer</code> or similar utilities.+ * {@link #keywordTokenStream(Collection)}, the Lucene <code>KeywordTokenizer</code> or similar utilities.** @param fieldName* a name to be associated with the textdiff --git a/lucene/module-build.xml b/lucene/module-build.xmlindex 290da915d56..62cfd960aa7 100644--- a/lucene/module-build.xml+++ b/lucene/module-build.xml@@ -20,7 +20,7 @@<project name="module-build" xmlns:artifact="antlib:org.apache.maven.artifact.ant"><echo>Building ${ant.project.name}...</echo>- <!-- TODO: adjust build.dir/dist.dir appropriately when a contrib project is run individually -->+ <!-- TODO: adjust build.dir/dist.dir appropriately when a module is run individually --><dirname file="${ant.file.module-build}" property="module-build.dir"/><property name="build.dir" location="${module-build.dir}/build/${ant.project.name}"/><property name="dist.dir" location="${module-build.dir}/dist/${ant.project.name}"/>diff --git a/lucene/queryparser/docs/xml/README.htm b/lucene/queryparser/docs/xml/README.htmindex 07241135e38..649698b7edd 100644--- a/lucene/queryparser/docs/xml/README.htm+++ b/lucene/queryparser/docs/xml/README.htm@@ -30,6 +30,6 @@<li>A modular design with expandable support for new query/filter types</li></ul></p>- <p>This code is dependent on the "queries" contrib module although the "CoreParser" can be compiled with just Lucene core if required</p>+ <p>This code is dependent on the "queries" module although the "CoreParser" can be compiled with just Lucene core if required</p></body></html>\ No newline at end of filediff --git a/lucene/queryparser/src/test/org/apache/lucene/queryparser/flexible/standard/TestQPHelper.java b/lucene/queryparser/src/test/org/apache/lucene/queryparser/flexible/standard/TestQPHelper.javaindex 0f5e79ca2b6..51dae2356a2 100644--- a/lucene/queryparser/src/test/org/apache/lucene/queryparser/flexible/standard/TestQPHelper.java+++ b/lucene/queryparser/src/test/org/apache/lucene/queryparser/flexible/standard/TestQPHelper.java@@ -893,7 +893,7 @@ public class TestQPHelper extends LuceneTestCase {assertEscapedQueryEquals("&& abc &&", a, "\\&\\& abc \\&\\&");}- @Ignore("contrib queryparser shouldn't escape wildcard terms")+ @Ignore("flexible queryparser shouldn't escape wildcard terms")public void testEscapedWildcard() throws Exception {StandardQueryParser qp = new StandardQueryParser();qp.setAnalyzer(new MockAnalyzer(random(), MockTokenizer.WHITESPACE, false));diff --git a/lucene/queryparser/src/test/org/apache/lucene/queryparser/util/QueryParserTestBase.java b/lucene/queryparser/src/test/org/apache/lucene/queryparser/util/QueryParserTestBase.javaindex 88190c119d0..96af099c1d5 100644--- a/lucene/queryparser/src/test/org/apache/lucene/queryparser/util/QueryParserTestBase.java+++ b/lucene/queryparser/src/test/org/apache/lucene/queryparser/util/QueryParserTestBase.java@@ -52,7 +52,7 @@ import org.apache.lucene.util.automaton.RegExp;* Base Test class for QueryParser subclasses*/// TODO: it would be better to refactor the parts that are specific really-// to the core QP and subclass/use the parts that are not in the contrib QP+// to the core QP and subclass/use the parts that are not in the flexible QPpublic abstract class QueryParserTestBase extends LuceneTestCase {public static Analyzer qpAnalyzer = new QPTestAnalyzer();