Re: Yokozuna unpredictable result count

2015-02-19 Thread Zeeshan Lakhani
Ok. I’m guessing that you’re running a default cluster on one node. Did you attempt the read-repair I suggested earlier in the thread? Also, you should try and get each node’s value for the bucket/key and see if they’re consistent. You can use https://github.com/basho/riak_kv/blob/d17409fdb934

Re: Yokozuna unpredictable result count

2015-02-19 Thread Cezary Kosko
I can't recall right now, but it's safe to assume I did delete it. As for nodes, I have added one, nothing more. Kind regards, Cezary 2015-02-19 18:01 GMT+01:00 Zeeshan Lakhani : > So, AAE is running. > > Again, did you delete the single object at some point? Trying to see if > this is related

Re: Yokozuna unpredictable result count

2015-02-19 Thread Zeeshan Lakhani
So, AAE is running. Again, did you delete the single object at some point? Trying to see if this is related to you hitting a tombstone on queries. Also, when you added the object, did you add it and later leave (drop) a node from your cluster? Thanks. Zeeshan Lakhani programmer | software en

Re: Yokozuna unpredictable result count

2015-02-19 Thread Cezary Kosko
By './data/yz_anti_entropy' do you mean '/var/lib/riak/yz_anti_entropy' by default or './data/yz_anti_entropy' inside each index's directory? If the former - it's there, the latter - not. riak-admin search aae-status says there's been some AAE activity in the past few hours. Also I called yz_entro

Re: Yokozuna unpredictable result count

2015-02-19 Thread Zeeshan Lakhani
Thanks Cezary. Have you deleted this object at some point in your runs? Please make sure AAE is running by checking search’s AAE status, `riak-admin search aae-status`, and that data exists in the correct directory, `./data/yz_anti_entropy` (http://docs.basho.com/riak/latest/ops/advanced/confi

Re: Yokozuna unpredictable result count

2015-02-19 Thread Cezary Kosko
I have the exact same issue with regular http search queries, so I guess I'll just describe that part. I've got a bucket of maps-of-sets, 2 of them are entityId_set and timestamps_set. Its search index is called 'job' and it's only this bucket that's indexed. When I run curl "localhost:8098/sear

Re: Yokozuna unpredictable result count

2015-02-19 Thread Zeeshan Lakhani
Hello Cezary, Firstly, are you able to retrieve your search result consistently when not using doing a mapreduce job? To better help out, can you send a gist of the mapreduce code you’re running? Thanks. > On Feb 18, 2015, at 9:13 PM, Cezary Kosko wrote: > > Hi, > > I've got a search inde

Yokozuna unpredictable result count

2015-02-18 Thread Cezary Kosko
Hi, I've got a search index, and I'd like to run mapred job against that index. The thing is, for a search query that should return exactly one result, I sometimes (not always, yet not rarely) get none, i.e. the mapred job returns an empty list instead of, say, a list containing a single object. D