[ 
https://issues.apache.org/jira/browse/LUCENENET-475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christopher Currens resolved LUCENENET-475.
-------------------------------------------

       Resolution: Fixed
    Fix Version/s: Lucene.Net 3.0.3

This has already been fixed in trunk.  Contrib was largely forgotten about in 
past released, though this has changed during the development of 3.x.
                
> DanishStemmer doesn't work.
> ---------------------------
>
>                 Key: LUCENENET-475
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-475
>             Project: Lucene.Net
>          Issue Type: Bug
>          Components: Lucene.Net Contrib
>    Affects Versions: Lucene.Net 2.9.4g
>            Reporter: Johannes Hansen
>              Labels: danish, snowball, stemmer
>             Fix For: Lucene.Net 3.0.3
>
>
> The following code fails with a ArgumentOutOfRangeException in line 467 of 
> "\src\contrib\Snowball\SF\Snowball\SnowballProgram.cs":
> var stemmer = new DanishStemmer();
> stemmer.SetCurrent("heste");
> stemmer.Stem();
> Console.WriteLine(stemmer.GetCurrent());
> Expected: Output "hest" to console.
> Possible fix: Seems like the line should have been
> s.Append(current.ToString(bra, len));
> instead of:
> s.Append(current.ToString(bra, ket));

--
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

        

Reply via email to