lucene-contrib maven artifact

View: New views
2 Messages — Rating Filter:   Alert me  

lucene-contrib maven artifact

by Ahmet Arslan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello everyone,

When I add this dependency  to my pom.xml, an error occurs. org.apache.lucene:lucene-contrib:jar:2.9.0 is missing.

  <dependency>
            <groupId>org.apache.lucene</groupId>
            <artifactId>lucene-contrib</artifactId>
            <version>2.9.0</version>
            <type>jar</type>
            <scope>compile</scope>
        </dependency>

I am trying to use org.apache.lucene.search.vectorhighlight.*;

http://repo1.maven.org/maven2/org/apache/lucene/lucene-contrib/2.9.0/ does not contain jar file. Is this normal?

Which maven dependency should I use to include FastVectorHighlighter?

I added lucene-highlighter, lucene-misc, lucene-memory and  lucene-core but it didn't help.

Thanks.


     

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@...
For additional commands, e-mail: java-user-help@...


Re: lucene-contrib maven artifact

by hossman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I don't use maven, but ...

: When I add this dependency  to my pom.xml, an error occurs. org.apache.lucene:lucene-contrib:jar:2.9.0 is missing.
        ...
: I am trying to use org.apache.lucene.search.vectorhighlight.*;
:
: http://repo1.maven.org/maven2/org/apache/lucene/lucene-contrib/2.9.0/ does not contain jar file. Is this normal?

...there's no such thing as a "lucene-contrib" jar ... the contrib is a
collection of jars.  I'm not sure what that directory/pom is for.

: Which maven dependency should I use to include FastVectorHighlighter?
:
: I added lucene-highlighter, lucene-misc, lucene-memory and  lucene-core but it didn't help.

FastVectorHighlighter is in contrib/fast-vector-highlighter ... i'm not
sure where you'd find that in maven.



-Hoss


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@...
For additional commands, e-mail: java-user-help@...