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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.2.1
    • 6.6, 7.0
    • spellchecker
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: