Hi everyone,
I'm checking Solr query that contains condition "Exclude all documents that
contain ceratin field".
Currently, it looks like this:
*(*:* AND -field_to_exclude:*)*

Full query is:
*((some_other_field:"value") AND ((*:* AND -field_to_exclude:*)))*

If I use defType=edismax, nothing is found. If I use default defType - I
get correct results, same as when I do not specify *:* in non-exists
condition.

My questions are:
1) why defType "edismax" leads to empty results?
2) do we really need to include clause "**:**" in non-exists condition?
Isn't *-field_to_exclude:* *enough?
-- 
Best Regards,
Iana Bondarska

Reply via email to