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

MongoDB OR filters are not executed on native search engine leading to wrong results on queries.

Description

MongoDB store does not register OR operation into filter capabilities and due to this OR operations are not executes on native search engine leading to wrong queries results with or involved.

This seems related to older MongoDB versions unable to mix $or operations with spatial indexes, but it is already supported since 2.6.0 version.

See:
https://github.com/geotools/geotools/blob/master/modules/plugin/mongodb/src/main/java/org/geotools/data/mongodb/MongoDataStore.java#L214-L218

Environment

None

Status

Assignee

Fernando Miño

Reporter

Fernando Miño

Triage

None

Components

Priority

Medium