Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.10, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      This only partially works today. But zero-affixes are used heavily by many dictionaries (e.g. i found a good number of bugs in czech and latvian just experimenting).

      The fix is easy: we just have to look for "0" in the affix portion as well as the strip portion, as indicated by the manual page:

      "Zero stripping or affix are indicated by zero."

        Activity

        Hide
        Robert Muir added a comment -

        patch with a simple test

        Show
        Robert Muir added a comment - patch with a simple test
        Hide
        ASF subversion and git services added a comment -

        Commit 1609723 from Robert Muir in branch 'dev/trunk'
        [ https://svn.apache.org/r1609723 ]

        LUCENE-5817: Fix hunspell zero-affix handling

        Show
        ASF subversion and git services added a comment - Commit 1609723 from Robert Muir in branch 'dev/trunk' [ https://svn.apache.org/r1609723 ] LUCENE-5817 : Fix hunspell zero-affix handling
        Hide
        ASF subversion and git services added a comment -

        Commit 1609725 from Robert Muir in branch 'dev/branches/branch_4x'
        [ https://svn.apache.org/r1609725 ]

        LUCENE-5817: Fix hunspell zero-affix handling

        Show
        ASF subversion and git services added a comment - Commit 1609725 from Robert Muir in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1609725 ] LUCENE-5817 : Fix hunspell zero-affix handling

          People

          • Assignee:
            Unassigned
            Reporter:
            Robert Muir
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development