.com/Using-bucket-index-in-java-client-tp4032125p4032183.html
Sent from the Riak Users mailing list archive at Nabble.com.
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
You've changed source of java client (if sb fix something else - you need to
port changes to your own implementation).
This not satisfies me.
--
View this message in context:
http://riak-users.197444.n3.nabble.com/Using-bucket-index-in-java-client-tp4032125p4032202.html
Sent from the
gt; public List getEntries()
> {
> List convertedList = new ArrayList();
> for (SecondaryIndexQueryOperation.Response.Entry e :
> coreResponseCopy.getEntryList())
> {
> Location loc = getLocationFromCo
ue
indexKey, SecondaryIndexQuery.IndexConverter converter)
{
super(riakObjectLocation, indexKey, converter);
}
}
}
}
--
View this message in context:
http://riak-users.197444.n3.nabble.com/Using-bucket-index-in-java-client-tp4032125p4032199.html
Sent from the Riak Users m
ue
indexKey, SecondaryIndexQuery.IndexConverter converter)
{
super(riakObjectLocation, indexKey, converter);
}
}
}
}
--
View this message in context:
http://riak-users.197444.n3.nabble.com/Using-bucket-index-in-java-client-tp4032125p4032198.html
Se
Got it!
In com.basho.riak.client.api.commands.indexes.BinIndexQuery.java, the inner
class Init constructor, when calling super(), always adds the "_bin"
suffix. In case of "$bucket" index - it should not.
The fix is trivial
Best regards,
Vasco
On Sun, Nov 23, 2014 at 11:15 AM, Vassil Kolarov
Hi all,
I am trying to execute the following query, using java client:
http://:/types/default/buckets/testwindow1/index/$bucket/_
Where "testwindow1" is the name of the bucket.
This works fine via HTTP interface, but when I try it with the with java
client - nothing:
bucket = new Namespace("def