Alfonso Noriega Meneses created SOLR-11156:
----------------------------------------------
Summary: Edismax query parser fails to parse q=(*:*)
Key: SOLR-11156
URL: https://issues.apache.org/jira/browse/SOLR-11156
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Components: query parsers
Affects Versions: 5.5.1
Environment: Solr 5.5.1
Reporter: Alfonso Noriega Meneses
The Edismax query parser does parse the query {{(\*:\*)}} as a exact text match
instead of a match all documents.
Setting the debugQuery param to true and the query {{\*:\*}} we get this json:
{code}
"debug": {
"rawquerystring": "*:*",
"querystring": "*:*",
"parsedquery": "(+MatchAllDocsQuery(*:*))/no_coord",
"parsedquery_toString": "+*:*",
...
}
{code}
But with the query {{(\*:\*)}} the Edismax query parser returns a
{{DisjunctionMaxQuery}} like shown in the following json:
{code}
"debug": {
"rawquerystring": "(*:*)",
"querystring": "(*:*)",
"parsedquery": "(+DisjunctionMaxQuery((text:*\\:*)))/no_coord",
"parsedquery_toString": "+(text:*\\:*)",
"explain": {},
"QParser": "ExtendedDismaxQParser",
...
}
{code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]