lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-4204) Error with Codec on android
Date Tue, 10 Jul 2012 09:30:35 GMT

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

Uwe Schindler commented on LUCENE-4204:
---------------------------------------

Did you try to use the official lucene-core.jar? If you build the code from source using Android
build tools, you have to make sure that your ANT/Eclipse project correctly adds the resource
folders (also used by Analyzers and a lot of other stuff). Lucene heavily depends on resource
files placed inside the classpath/JAR files (like stopword files, and SPI META-INF files),
so they must also appear in your DEX files somehow.
                
> Error with Codec on android
> ---------------------------
>
>                 Key: LUCENE-4204
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4204
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: core/codecs
>    Affects Versions: 4.0
>         Environment: Android 
>            Reporter: ROULLAND Bruno
>            Priority: Minor
>              Labels: error, newbie
>             Fix For: 3.6
>
>
> Hello, with the latest version of Lucene 4.0, I have an error :
> "Codec with name ‘Lucene40′ does not exist.
> You need to add the corresponding JAR file supporting this SPI to
> your classpath. The current classpath supports the following names:
> []"
> Classpath is OK, but the method for initialise Codec don't work. 
> This error does not append with Lucene 3.6.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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


Mime
View raw message