Re: J. Chris Anderson can you help? Re: filtering changes feed

2014-08-12 Thread J. Chris Anderson
Just to let you know I'm looking into this and the filter compilation seems to be running fine. It *looks* like the problem is in JSON parameter handling. So it will take more investigation but now I know where to look. Chris On Monday, August 4, 2014 2:16:00 PM UTC-7, Seung Chan Lim wrote:

Re: J. Chris Anderson can you help? Re: filtering changes feed

2014-08-04 Thread J. Chris Anderson
On Sunday, August 3, 2014 2:00:04 PM UTC-7, Seung Chan Lim wrote: Yeah, I just tried a filter that returns true no matter what, and still doesn't work. I get a change notify from the http socket that does not utilizes the filter, but none from the one that does. Any chance you can

Re: J. Chris Anderson can you help? Re: filtering changes feed

2014-08-04 Thread Seung Chan Lim
Sorry, I can't share the app. :( I'll be more than happy to help in others possible ways as needed. slim On Monday, August 4, 2014 1:08:42 PM UTC-4, J. Chris Anderson wrote: On Sunday, August 3, 2014 2:00:04 PM UTC-7, Seung Chan Lim wrote: Yeah, I just tried a filter that returns true no

Re: J. Chris Anderson can you help? Re: filtering changes feed

2014-08-03 Thread Seung Chan Lim
Yeah, I just tried a filter that returns true no matter what, and still doesn't work. I get a change notify from the http socket that does not utilizes the filter, but none from the one that does. slim On Sunday, August 3, 2014 1:21:24 PM UTC-4, J. Chris Anderson wrote: On Saturday,

Re: J. Chris Anderson can you help? Re: filtering changes feed

2014-08-01 Thread J. Chris Anderson
On Wednesday, July 30, 2014 6:42:53 PM UTC-7, J. Chris Anderson wrote: On Wednesday, July 30, 2014 6:40:31 PM UTC-7, J. Chris Anderson wrote: Eagerly awaiting Chris to rebuild the phone gap plugin. How do I know when this gets done? Here is a 1.0.2 RC build for the phonegap plugin

Re: J. Chris Anderson can you help? Re: filtering changes feed

2014-07-30 Thread J. Chris Anderson
On Tuesday, July 29, 2014 5:31:03 PM UTC-7, Seung Chan Lim wrote: Ah, most excellent! Yes, the invalid JSON is just my sloppiness. Eagerly awaiting Chris to rebuild the phone gap plugin. How do I know when this gets done? On my plate for this week is to cut a 1.0.1 release of PhoneGap

Re: J. Chris Anderson can you help? Re: filtering changes feed

2014-07-30 Thread J. Chris Anderson
On Wednesday, July 30, 2014 6:40:31 PM UTC-7, J. Chris Anderson wrote: Eagerly awaiting Chris to rebuild the phone gap plugin. How do I know when this gets done? On my plate for this week is to cut a 1.0.1 release of PhoneGap (I don't think this will have your fixes, but as soon as I

J. Chris Anderson can you help? Re: filtering changes feed

2014-07-29 Thread Seung Chan Lim
This is something that is baffling me. I'm trying to filter my changes feed from the local couch db on phone gap. I've created a design doc ( _design/utils) with the filters attribute set to a string representation of the following function function(doc, req) { if

Re: J. Chris Anderson can you help? Re: filtering changes feed

2014-07-29 Thread Seung Chan Lim
By local couch db I mean couch base lite. On Tuesday, July 29, 2014 4:35:10 PM UTC-4, Seung Chan Lim wrote: This is something that is baffling me. I'm trying to filter my changes feed from the local couch db on phone gap. I've created a design doc ( _design/utils) with the filters attribute

Re: J. Chris Anderson can you help? Re: filtering changes feed

2014-07-29 Thread Jens Alfke
What OS? And what does the entire design document look like? —Jens -- You received this message because you are subscribed to the Google Groups Couchbase Mobile group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: J. Chris Anderson can you help? Re: filtering changes feed

2014-07-29 Thread Seung Chan Lim
iOS snip indicates removed content {_id: _design/utils views: { personal_history: { map: snip }, interpersonal_history: { map: snip } }, filters: { by_id: function(doc, req) { if (req.query.doc_ids.indexOf(doc._id) != -1) {

Re: J. Chris Anderson can you help? Re: filtering changes feed

2014-07-29 Thread Jens Alfke
On Jul 29, 2014, at 4:14 PM, Jens Alfke jens.al...@gmail.com wrote: I just took a minute to debug this. The answer is simply that there isn't any support (yet) for JavaScript-based filters. The JavaScriptCore integration only supports views (map and reduce functions) so far. Oops, not

Re: J. Chris Anderson can you help? Re: filtering changes feed

2014-07-29 Thread Seung Chan Lim
Ah, most excellent! Yes, the invalid JSON is just my sloppiness. Eagerly awaiting Chris to rebuild the phone gap plugin. How do I know when this gets done? slim On Tuesday, July 29, 2014 7:30:06 PM UTC-4, Jens Alfke wrote: On Jul 29, 2014, at 4:14 PM, Jens Alfke jens@gmail.com