Hi,
Say I have a map function thus:
function (doc, meta) {
emit([doc.username,doc.createdDateTime]);
}
which produces keys in the format of:
["bob","2013-01-30"]
["alice","2013-02-21"]
Is it at all possible to query with a wildcard on this? For example, I have tried this with no joy (no results returned from the query):
// key=["bob", "{}"]
query.setKey(ComplexKey.of(username, ComplexKey.emptyObject()));
I have also tried a few permutations of this:
query.setKey(ComplexKey.of(username, "*"));
and
query.setKey(ComplexKey.of(username, ""));
Perhaps this isn’t possible at all?
Any help would be greatly appreciated Thank you.
-=david=-