Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Henrik Nørskov Lange 3 posts 75 karma points
    Mar 09, 2016 @ 13:04
    Henrik Nørskov Lange
    0

    lucene danish stemmer error: System.ArgumentOutOfRangeException: Index and length must refer to a location within the string

    Hello, We are using Umbraco 7.3.1 and Lucene.Net 2.9.4.1. When we activate the danish Snowball stemmer we get this error when doing a search for example of a danish word like "komme" or "kommer":

    System.ArgumentOutOfRangeException: Index and length must refer to a location within the string

    Now, this is a known error, it seems, with Lucene.Net caused by SF.Snowball.Ext.DanishStemmer. For reference: https://issues.apache.org/jira/browse/LUCENENET-54

    Now, this should be fixed in Lucene.Net 3.03 - but I'm unable to update due to Umbraco depending on older version of Lucene.Net (<3.0.0). And even newest version of Umbraco 7.4.1. has the same dependency (>= 2.9.4.1 && <3.0.0). So, does anyone have a suggestion on how to solve this?

Please Sign in or register to post replies

Write your reply to:

Draft