[jsword-devel] [JIRA] Created: (JS-189) Error indexing Spanish SpaRV bible - "SnowballAnalyzer configured for unavailable stemmer Spanish (Español)"

Martin Denham (JIRA) jira at crosswire.org
Fri Apr 22 08:05:18 MST 2011


Error indexing Spanish SpaRV bible - "SnowballAnalyzer configured for unavailable stemmer Spanish (Español)"
------------------------------------------------------------------------------------------------------------

                 Key: JS-189
                 URL: http://www.crosswire.org/bugs/browse/JS-189
             Project: JSword
          Issue Type: Bug
          Components: o.c.jsword.index
    Affects Versions: 1.6.1
         Environment: Windows & And Bible
            Reporter: Martin Denham
            Assignee: DM Smith


I received the following error when creating an index for this Spanish bible.  If it isn't immediately obvious what is wrong just say and I will write a junit.

I had a quick look and there may be a conflict between the language name passed in (Spanish (Español)) and the language list in the configurable analyzer (Spanish) but I am a bit out of my depth here.

Here is the error preceded by some of my logging:

Downloading and installing:SpaRV:La Santa Biblia Reina-Valera (1909)
Indexing:SpaRV name:La Santa Biblia Reina-Valera (1909)
Exception in thread "Thread-4" java.lang.IllegalArgumentException: SnowballAnalyzer configured for unavailable stemmer Spanish (Español)
	at org.crosswire.jsword.index.lucene.analysis.ConfigurableSnowballAnalyzer.pickStemmer(ConfigurableSnowballAnalyzer.java:142)
	at org.crosswire.jsword.index.lucene.analysis.ConfigurableSnowballAnalyzer.setBook(ConfigurableSnowballAnalyzer.java:128)
	at org.crosswire.jsword.index.lucene.analysis.AnalyzerFactory.createAnalyzer(AnalyzerFactory.java:77)
	at org.crosswire.jsword.index.lucene.analysis.LuceneAnalyzer.<init>(LuceneAnalyzer.java:54)
	at org.crosswire.jsword.index.lucene.LuceneIndex.<init>(LuceneIndex.java:160)
	at org.crosswire.jsword.index.lucene.LuceneIndexManager$1.run(LuceneIndexManager.java:106)
	at java.lang.Thread.run(Thread.java:662)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the jsword-devel mailing list