[
https://issues.apache.org/jira/browse/SOLR-9677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Takumi Yoshida updated SOLR-9677:
---------------------------------
Description:
edismax treat operator as a keyword when a query parameter 'qf' contains
inexist field.
ex. ('hoge' does not existing in the schema.)
q=Japan OR Tokyo
defType=edismax
qf=title hoge
you will get result containing keywords 'Japan' or 'OR' or 'Tokyo' in Title.
also, you can get the following parsed query with debugQuery=true.
{code}
<str name="parsedquery_toString">+((title:Japan) (title:OR) (title:Tokyo))</str>
{code}
was:
edismax treat operator as a keyword when a query parameter 'qf' contains
inexist field.
ex. ('hoge' is not existing in the schema.)
q=Japan OR Tokyo
defType=edismax
qf=title hoge
you will get result containing keywords 'Japan' or 'OR' or 'Tokyo' in Title.
also, you can get the following parsed query with debugQuery=true.
{code}
<str name="parsedquery_toString">+((title:Japan) (title:OR) (title:Tokyo))</str>
{code}
> edismax treat operator as a keyword when a query parameter 'qf' contains
> inexist field.
> ---------------------------------------------------------------------------------------
>
> Key: SOLR-9677
> URL: https://issues.apache.org/jira/browse/SOLR-9677
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Affects Versions: 5.2.1, 5.5.1
> Reporter: Takumi Yoshida
>
> edismax treat operator as a keyword when a query parameter 'qf' contains
> inexist field.
> ex. ('hoge' does not existing in the schema.)
> q=Japan OR Tokyo
> defType=edismax
> qf=title hoge
> you will get result containing keywords 'Japan' or 'OR' or 'Tokyo' in Title.
> also, you can get the following parsed query with debugQuery=true.
> {code}
> <str name="parsedquery_toString">+((title:Japan) (title:OR)
> (title:Tokyo))</str>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]