Skip to content

Apache Lucene open-source search software

LUCENE-7612: Remove suggester dependency on misc

Alan Woodwardf3306786a13b
diff --git a/dev-tools/idea/lucene/suggest/suggest.iml b/dev-tools/idea/lucene/suggest/suggest.iml
index ef2b8edf9fb..576ea8bff9b 100644
--- a/dev-tools/idea/lucene/suggest/suggest.iml
+++ b/dev-tools/idea/lucene/suggest/suggest.iml
@@ -15,7 +15,6 @@
<orderEntry type="module" scope="TEST" module-name="lucene-test-framework" />
<orderEntry type="module" module-name="queries" />
<orderEntry type="module" module-name="analysis-common" />
- <orderEntry type="module" module-name="misc" />
<orderEntry type="module" module-name="lucene-core" />
</component>
</module>
diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt
index 5b7a10c12f0..67d8ae5ccd7 100644
--- a/lucene/CHANGES.txt
+++ b/lucene/CHANGES.txt
@@ -141,6 +141,9 @@ Bug Fixes
* LUCENE-7606: Normalization with CustomAnalyzer would only apply the last
token filter. (Adrien Grand)
+* LUCENE-7612: Removed an unused dependency from the suggester to the misc
+ module. (Alan Woodward)
+
Improvements
* LUCENE-6824: TermAutomatonQuery now rewrites to TermQuery,
diff --git a/lucene/suggest/build.xml b/lucene/suggest/build.xml
index 26b316b31f8..5babe064d18 100644
--- a/lucene/suggest/build.xml
+++ b/lucene/suggest/build.xml
@@ -30,22 +30,20 @@
<path id="classpath">
<pathelement path="${analyzers-common.jar}"/>
- <pathelement path="${misc.jar}"/>
<pathelement path="${queries.jar}"/>
<path refid="base.classpath"/>
</path>
- <target name="javadocs" depends="javadocs-queries,javadocs-misc,compile-core,check-javadocs-uptodate"
+ <target name="javadocs" depends="javadocs-queries,compile-core,check-javadocs-uptodate"
unless="javadocs-uptodate-${name}">
<invoke-module-javadoc>
<links>
<link href="../analyzers-common"/>
<link href="../queries"/>
- <link href="../misc"/>
</links>
</invoke-module-javadoc>
</target>
- <target name="compile-core" depends="jar-expressions, jar-misc, jar-analyzers-common, common.compile-core" />
+ <target name="compile-core" depends="jar-expressions, jar-analyzers-common, common.compile-core" />
</project>