There seems to be a bit of problem when doing riak search, using Java Riak Client,
val result = client.mapReduce(BUCKET_NAME, searchHead + ":" + userID)
.addMapPhase(new NamedJSFunction("Riak.mapValuesJson"), true)
.execute
Here, the userID is a twitter ID is , and the problem is that userID="-xxxxxx", you can see there is a "-".
And for some reason, when fields start with "-", the search doesn't return any result.
I am using Riak Java Client 1.1.4, and Riak version is 1.3.1