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

[jira] [Resolved] (SOLR-15345) filter queries (fq) ignore the default query parser (defType)

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

Dawid Weiss resolved SOLR-15345.
--------------------------------
    Resolution: Won't Fix

> filter queries (fq) ignore the default query parser (defType)
> -------------------------------------------------------------
>
>                 Key: SOLR-15345
>                 URL: https://issues.apache.org/jira/browse/SOLR-15345
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Dawid Weiss
>            Priority: Major
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> This would be a breaking change but is a good puzzler - if you're using a non-standard query parser (set up as default everywhere), filter queries completely ignore it. One can override locally via {code}fq={!type=...}...{code} but it seems like an obscure solution.
> See this code in QueryComponent:
> https://github.com/apache/solr/blob/b8b65ce5060e71ebca1f8acc16559ada41e5df77/solr/core/src/java/org/apache/solr/handler/component/QueryComponent.java#L160
> and for fq:
> https://github.com/apache/solr/blob/b8b65ce5060e71ebca1f8acc16559ada41e5df77/solr/core/src/java/org/apache/solr/handler/component/QueryComponent.java#L210
> Is this behavior intended? 



--
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