You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Christine Poerschke (JIRA)" <ji...@apache.org> on 2016/12/30 15:02:58 UTC

[jira] [Commented] (LUCENE-7612) Remove suggester dependency on misc

    [ https://issues.apache.org/jira/browse/LUCENE-7612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15787821#comment-15787821 ] 

Christine Poerschke commented on LUCENE-7612:
---------------------------------------------

bq. ... I think the maven and eclipse templates will pick this up automatically?

Yes, for maven that looks to be the case, not sure about eclipse though.

{code}
ant clean-maven-build
ant get-maven-poms
cp maven-build/lucene/suggest/pom.xml before-lucene-suggest-pom.xml

git apply LUCENE-7612.patch

ant clean-maven-build
ant get-maven-poms
cp maven-build/lucene/suggest/pom.xml after-lucene-suggest-pom.xml

diff -c before-lucene-suggest-pom.xml after-lucene-suggest-pom.xml
...
      </dependency>
      <dependency>
        <groupId>org.apache.lucene</groupId>
-       <artifactId>lucene-misc</artifactId>
-     </dependency>
-     <dependency>
-       <groupId>org.apache.lucene</groupId>
        <artifactId>lucene-queries</artifactId>
      </dependency>
...
{code}

> Remove suggester dependency on misc
> -----------------------------------
>
>                 Key: LUCENE-7612
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7612
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>         Attachments: LUCENE-7612.patch
>
>
> AnalyzingInfixSuggester uses IndexSorter, which was in the misc module when the dependency was added in LUCENE-5477.  IndexSorter is in core now, though, so this dependency can be removed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org