diff --git a/lucene/JRE_VERSION_MIGRATION.txt b/lucene/JRE_VERSION_MIGRATION.txt index 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, and LowerCaseTokenizer 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 these components, 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.java index 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; * * *

- * The ICUCollationAttributeFactory in the icu package of Lucene's - * contrib area uses ICU4J's Collator, which makes its + * The ICUCollationAttributeFactory 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. See diff --git a/lucene/analysis/common/src/java/org/apache/lucene/collation/CollationKeyAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/collation/CollationKeyAnalyzer.java index 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; * * *

- * The ICUCollationKeyAnalyzer in the icu package of Lucene's - * contrib area uses ICU4J's Collator, which makes its + * The ICUCollationKeyAnalyzer 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.java index 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; * * *

- * The ICUCollationKeyFilter in the icu package of Lucene's - * contrib area uses ICU4J's Collator, which makes its + * The ICUCollationKeyFilter 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. See diff --git a/lucene/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java b/lucene/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java index 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 KeywordTokenizer or similar utilities. + * {@link #keywordTokenStream(Collection)}, the Lucene KeywordTokenizer or similar utilities. * * @param fieldName * a name to be associated with the text diff --git a/lucene/module-build.xml b/lucene/module-build.xml index 290da915d56..62cfd960aa7 100644 --- a/lucene/module-build.xml +++ b/lucene/module-build.xml @@ -20,7 +20,7 @@ Building ${ant.project.name}... - + diff --git a/lucene/queryparser/docs/xml/README.htm b/lucene/queryparser/docs/xml/README.htm index 07241135e38..649698b7edd 100644 --- a/lucene/queryparser/docs/xml/README.htm +++ b/lucene/queryparser/docs/xml/README.htm @@ -30,6 +30,6 @@

  • A modular design with expandable support for new query/filter types
  • -

    This code is dependent on the "queries" contrib module although the "CoreParser" can be compiled with just Lucene core if required

    +

    This code is dependent on the "queries" module although the "CoreParser" can be compiled with just Lucene core if required

    \ No newline at end of file diff --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.java index 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.java index 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 QP public abstract class QueryParserTestBase extends LuceneTestCase { public static Analyzer qpAnalyzer = new QPTestAnalyzer();