lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Dyer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-10323) SpellingQueryConverter does not remove ":" char when using fielded queries
Date Thu, 06 Apr 2017 15:30:41 GMT

     [ https://issues.apache.org/jira/browse/SOLR-10323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

James Dyer updated SOLR-10323:
------------------------------
    Attachment: SOLR-10323.patch

This patch makes the test a little simpler.  Straightforward fix.  I'll commit this shortly.

> 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
>            Assignee: James Dyer
>         Attachments: SOLR-10323.patch, SOLR-10323.patch, 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message