Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-1407

SpellingQueryConverter now disallows underscores and digits in field names (but allows all UTF-8 letters)

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.4
    • Component/s: spellchecker
    • Labels:
      None

      Description

      SpellingQueryConverter was extended to cover the full UTF-8 range instead of handling US-ASCII only, but in the process it was broken for field names that contain underscores or digits.

        Attachments

        1. SOLR-1407.patch
          0.7 kB
          Shalin Shekhar Mangar
        2. SOLR-1407.patch
          6 kB
          Shalin Shekhar Mangar
        3. SOLR-1407-fix.patch
          6 kB
          Shalin Shekhar Mangar
        4. SpellingQueryConverter.java
          4 kB
          Michael Ludwig
        5. SpellingQueryConverter.java
          1 kB
          David Bowen

          Issue Links

            Activity

              People

              • Assignee:
                shalin Shalin Shekhar Mangar
                Reporter:
                dbowen David Bowen
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: