malteseduck / spring-data-marklogic

An implementation of the Spring Data interfaces for the MarkLogic NoSQL database
Apache License 2.0
7 stars 9 forks source link

@Range criteria doesn't use indexType #45

Closed malteseduck closed 6 years ago

malteseduck commented 6 years ago

You can specify an indexType on the range query, but when generating the query it uses the document format (incorrectly the format of the criteria class itself instead of the one on which it is filtering). The range queries should use the indexType instead.