Hi,

Uncommitted code could have these kind of problems. It is not guaranteed to 
work with latest trunk.

You could commend the problem you face on the jira ticket.

By the way, may be you are after something doable with already committed UIMA 
stuff?

https://cwiki.apache.org/confluence/display/solr/UIMA+Integration

Ahmet



On Monday, June 2, 2014 5:07 PM, Vivekanand Ittigi <vi...@biginfolabs.com> 
wrote:
I followed this link to integrate https://wiki.apache.org/solr/OpenNLP to
integrate

Installation

For English language testing: Until LUCENE-2899 is committed:

    1.pull the latest trunk or 4.0 branch

    2.apply the latest LUCENE-2899 patch
    3.do 'ant compile'
    cd solr/contrib/opennlp/src/test-files/training
    .
    .
    .
i followed first two steps but got the following error while executing 3rd
point

common.compile-core:
    [javac] Compiling 10 source files to
/home/biginfolabs/solrtest/solr-lucene-trunk3/lucene/build/analysis/opennlp/classes/java

    [javac] warning: [path] bad path element
"/home/biginfolabs/solrtest/solr-lucene-trunk3/lucene/analysis/opennlp/lib/jwnl-1.3.3.jar":
no such file or directory

    [javac]
/home/biginfolabs/solrtest/solr-lucene-trunk3/lucene/analysis/opennlp/src/java/org/apache/lucene/analysis/opennlp/FilterPayloadsFilter.java:43:
error: cannot find symbol

    [javac]     super(Version.LUCENE_44, input);

    [javac]                  ^
    [javac]   symbol:   variable LUCENE_44
    [javac]   location: class Version
    [javac]
/home/biginfolabs/solrtest/solr-lucene-trunk3/lucene/analysis/opennlp/src/java/org/apache/lucene/analysis/opennlp/OpenNLPTokenizer.java:56:
error: no suitable constructor found for Tokenizer(Reader)
    [javac]     super(input);
    [javac]     ^
    [javac]     constructor Tokenizer.Tokenizer(AttributeFactory) is not
applicable
    [javac]       (actual argument Reader cannot be converted to
AttributeFactory by method invocation conversion)
    [javac]     constructor Tokenizer.Tokenizer() is not applicable
    [javac]       (actual and formal argument lists differ in length)
    [javac] 2 errors
    [javac] 1 warning

Im really stuck how to passthough this step. I wasted my entire to fix this
but couldn't move a bit. Please someone help me..?

Thanks,
Vivek

Reply via email to