DATACOUCH-176 - Geo false positive autoelimination

So far with geo queries a bounding box approximation was performed on Circle and Polygon queries (since Couchbase internally only supports Bounding Box queries).

It was confusing since in previous iteration it was up to the user to remove these false positives "after the fact" in code calling the repository.

This change allows for the framework to retain enough information to perform false positives elimination automatically and transparently for the user.
This commit is contained in:
Simon Baslé
2015-11-17 16:50:18 -05:00
parent b78ed124ec
commit aa3f9c380b
7 changed files with 199 additions and 110 deletions

View File

@@ -17,10 +17,12 @@
<!-- You can use these logger configurations to log more details:
- log the Couchbase queries produced by the framework
- log details of geo queries and false positive elimination
- log details of the parsing of SpEL in N1QL inline queries
- log additional debug info during automatic index creation
-->
<logger name="org.springframework.data.couchbase.repository.query" level="debug"/>
<logger name="org.springframework.data.couchbase.repository.query.SpatialViewQueryCreator" level="trace"/>
<logger name="org.springframework.data.couchbase.repository.query.StringN1qlBasedQuery" level="trace"/>
<logger name="org.springframework.data.couchbase.repository.support.IndexManager" level="debug"/>