You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Nikolay Khitrin (Jira)" <ji...@apache.org> on 2021/09/01 14:39:00 UTC

[jira] [Created] (SOLR-15611) Phrase slop ignored after any nested parser in same query

Nikolay Khitrin created SOLR-15611:
--------------------------------------

             Summary: Phrase slop ignored after any nested parser in same query
                 Key: SOLR-15611
                 URL: https://issues.apache.org/jira/browse/SOLR-15611
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: query parsers
    Affects Versions: 8.9, main (9.0)
            Reporter: Nikolay Khitrin


{noformat}
_query_:"{!term f=text}foo" "foo bar"~1{noformat}
is parsed as
{noformat}
text:foo "foo bar"{noformat}
ignoring phrase slop because subQParser field in SolrQueryParserBase is not cleared after magic field processing.

Likely introduced in SOLR-4625 (May 2013) and may be the double-slop query mentioned in prior issue should throw an exception, not silently dropping additional slop, but it will be a breaking change because it is very-very old parser trait.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org