We're updating the issue view to help you get more done. 

Boolean queries involving dates (and possibly other types) return incorrect results with ElasticSearch

Description

http://www.collectiveaccess.org/support/forum/index.php?p=/discussion/298135/boolean-searches-in-es#latest

(ca_objects.date:1970) OR (ca_object_labels.name:sunset)
and
(ca_objects.date:1970) AND (ca_object_labels.name:sunset)

are both translated to the same query for ES, the date becomes a query filter in both cases. As a result the OR queries are incorrect.

Environment

None

Assignee

User known

Reporter

yelto

Labels

Components

Affects versions

Priority

Major
Configure