Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
4.0-BETA
-
None
-
None
Description
I just happen to notice that (*:*) is not parsed properly by the edismax (ExtendedDismaxQParser) query parser in 4.0-beta. It appears to require spaces before and after the *:*, otherwise it treats the colon as part of a wildcard term (see the escaping below). I haven’t tried other releases yet.
My original query:
http://localhost:8983/solr/select/?debugQuery=true&q=(*:*)&defType=edismax
Produces this:
<str name="rawquerystring">(*:*)</str> <str name="parsedquery">(+DisjunctionMaxQuery((text:*\:*)))/no_coord</str> <str name="parsedquery_toString">+(text:*\:*)</str> <str name="QParser">ExtendedDismaxQParser</str>
Some variations I tried:
<str name="rawquerystring">( *:*)</str> <str name="parsedquery">(+DisjunctionMaxQuery((text:*\:*)))/no_coord</str> <str name="parsedquery_toString">+(text:*\:*)</str> <str name="rawquerystring">(*:* )</str> <str name="parsedquery">(+DisjunctionMaxQuery((text:*\:*)))/no_coord</str> <str name="parsedquery_toString">+(text:*\:*)</str> <str name="rawquerystring">( *:* )</str> <str name="parsedquery">(+MatchAllDocsQuery(*:*))/no_coord</str> <str name="parsedquery_toString">+*:*</str> <str name="rawquerystring">(*:* -fox)</str> <str name="parsedquery"> (+(DisjunctionMaxQuery((text:*\:*)) -DisjunctionMaxQuery((text:fox))))/no_coord </str> <str name="parsedquery_toString">+((text:*\:*) -(text:fox))</str> <str name="rawquerystring">( *:* -fox)</str> <str name="parsedquery"> (+(MatchAllDocsQuery(*:*) -DisjunctionMaxQuery((text:fox))))/no_coord </str> <str name="parsedquery_toString">+(*:* -(text:fox))</str>
Attachments
Attachments
Issue Links
- is related to
-
SOLR-3377 eDismax: A fielded query wrapped by parens is not recognized
- Closed