[
https://issues.apache.org/jira/browse/NUTCH-2209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15129629#comment-15129629
]
ASF GitHub Bot commented on NUTCH-2209:
---------------------------------------
Github user sujen1412 commented on a diff in the pull request:
https://github.com/apache/nutch/pull/87#discussion_r51670370
--- Diff: src/plugin/scoring-similarity/build.xml ---
@@ -18,7 +18,15 @@
<project name="scoring-similarity" default="jar-core">
<import file="../build-plugin.xml"/>
-
+ <target name="deps-jar">
+ <ant target="jar" inheritall="false" dir="../indexer-elastic" />
+ </target>
+ <!-- Add compilation dependencies to classpath -->
+ <path id="plugin.deps">
+ <fileset dir="${nutch.root}/build">
+ <include name="**/indexer-elastic/*.jar" />
--- End diff --
In order to avoid adding lucene-core to the main ivy.xml and creating
classpath version conflicts, I used the one in indexer-elastic.
Is there a better way to do this, as somehow adding it to plugins ivy file
is giving runtime errors or maybe I am missing something ?
> Improved Tokenization for Similarity Scoring plugin
> ---------------------------------------------------
>
> Key: NUTCH-2209
> URL: https://issues.apache.org/jira/browse/NUTCH-2209
> Project: Nutch
> Issue Type: Improvement
> Components: scoring
> Reporter: Sujen Shah
> Assignee: Sujen Shah
> Labels: memex
> Fix For: 1.13
>
>
> This patch would add Lucene based tokenization to the cosine similarity
> plugin and clean up the code currently present.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)