Couchbase Enterprise / Community 2.0.1
Java SDK 1.1.5 / 1.1.7
There seems to be a problem setting rangeStart, rangeEnd using ComplexKey or JSON string directly.
Here is the output from ComplexKey.of(startKey)
ComplexKey.of(startKey)=“5yc38”
Here is the debug output from the query object, when only rangeStart is set:
?limit=100&startkey=%225yc38%22
The view returns nothing. However, the following works fine in Chrome.
http://localhost:8092/default/_design/abc/_view/myview?startkey="5yc38"
As Chrome loads the results, it changes %22 to a double quote, ", and show the double quote on the URL bar.
The view does return results if the start key is not set. If the start key is set, nothing is returned.
Anyone encountered issue?
Thanks…