You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/12/09 00:01:00 UTC
[jira] [Updated] (SOLR-15611) Phrase slop ignored after any nested parser in same query
[ https://issues.apache.org/jira/browse/SOLR-15611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated SOLR-15611:
----------------------------------
Labels: pull-request-available (was: )
> 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
> Components: query parsers
> Affects Versions: 9.0, 8.9
> Reporter: Nikolay Khitrin
> Priority: Major
> Labels: pull-request-available
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> {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.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org