[ https://issues.apache.org/jira/browse/SOLR-10323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15954285#comment-15954285 ]
Amrit Sarkar commented on SOLR-10323: ------------------------------------- Cool, I will add the test cases then to the current patch and would request a committer to have a look, suggest any improvements and ultimately commit that. This is a legit bug. > SpellingQueryConverter does not remove ":" char when using fielded queries > -------------------------------------------------------------------------- > > Key: SOLR-10323 > URL: https://issues.apache.org/jira/browse/SOLR-10323 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: spellchecker > Affects Versions: 6.2.1 > Reporter: Michael Pellegrini > Attachments: SOLR-10323.patch > > > 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. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org