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

SpellingQueryConverter does not remove ":" char when using fielded queries

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.2.1
    • Fix Version/s: 6.6, 7.0
    • Component/s: spellchecker
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None

      Description

      If you pass a fielded query to SpellingQueryConverter.convert, it returns a token that is prefixed with a ":" char.

      Example: The query "foo:bar" is converted to ":bar"

      This bug seems to have been introduced by the fix for SOLR-2556. Before this patch, SpellingQueryConverter.convert returned tokens without the leading colon char.

        Attachments

        1. SOLR-10323.patch
          0.8 kB
          Amrit Sarkar
        2. SOLR-10323.patch
          3 kB
          Amrit Sarkar
        3. SOLR-10323.patch
          2 kB
          James Dyer

          Activity

            People

            • Assignee:
              jdyer James Dyer
              Reporter:
              Mikep86 Michael Pellegrini
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: