lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Heisey <>
Subject Re: trivia question: why q=*:* doesn't return same result as q.alt=*:*
Date Sat, 06 Jan 2018 17:01:45 GMT
On 1/5/2018 7:22 PM, Nawab Zada Asad Iqbal wrote:
> Yes, i am using dismax. But dismax allows *:* for q.alt ,which also seems
> like inconsistency.

It works in q.alt because q.alt is interpreted using the standard 
(lucene) query parser.

The dismax parser doesn't understand lucene syntax like *:* ... but *:* 
is typically the most common setting for q.alt, so Solr can't use dismax 
to interpret the q.alt query.

The edismax parser does understand *:* -- and it should be a superset of 
dismax functionality.  You MIGHT be able to use edismax instead of 
dismax without any changes.


View raw message