Uploaded image for project: 'JSword'
  1. JSword
  2. JS-189

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

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.1
    • Fix Version/s: None
    • Component/s: o.c.jsword.index
    • Labels:
      None
    • Environment:

      Windows & And Bible

      Description

      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)

        Attachments

          Activity

            People

            • Assignee:
              dmsmith DM Smith
              Reporter:
              mjdenham Martin Denham
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: