lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christine Poerschke (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-7612) Remove suggester dependency on misc
Date Fri, 30 Dec 2016 15:02:58 GMT

    [ 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


Mime
View raw message