Re: Platform View Compatibility

2014-12-22 Thread Ken Courville
That was my attempt at pseudo coding the output. Based on this discussion, I feel my questions are answered. Thanks for your help! On Dec 21, 2014 10:13 PM, "Jens Alfke" wrote: > > On Dec 20, 2014, at 1:06 AM, Ken Courville wrote: > > Also, I do need to ensure that the map block is included on

Re: Platform View Compatibility

2014-12-21 Thread Jens Alfke
> On Dec 20, 2014, at 1:06 AM, Ken Courville wrote: > > Also, I do need to ensure that the map block is included on all platforms. Not quite sure what you're getting at here. The map block has to be registered at runtime for view indexing to work; else you'll get a fatal error if the view i

Re: Platform View Compatibility

2014-12-20 Thread Zack Gramana
The .NET 1.0.4 release will be coming out shortly, but yes, that fix is in master (which 1.0.4 will be cut from). And yes, the output from your mapper and/or reducer functions, and the version string you pass to `SetMap` for your view must be identical on all platforms for the views to work cor

Re: Platform View Compatibility

2014-12-20 Thread Ken Courville
Yup. That's exactly what we're looking for. We have .NET servers and want to provide the initial database, all in one file, based on the customers current dataset (which is in constant flux naturally), without having to download and insert batches of records. Their datasets ranges from a few

Re: Platform View Compatibility

2014-12-19 Thread Jens Alfke
> On Dec 19, 2014, at 9:00 AM, Zack Gramana wrote: > > In that case, it would be natural to ship the same snapshot on all platforms > an app is targeting. OK, that makes sense. I hadn't thought of that case. Anyway, about the original question: Yes, views are compatible between platforms, as

Re: Platform View Compatibility

2014-12-19 Thread Zack Gramana
The common use case here would be shipping a baseline database snapshot in order to enable a first run experience that doesn't require an initial sync in order to be usable, and/or to avoid a full enumeration of a very large dataset. In that case, it would be natural to ship the same snapshot on

Re: Platform View Compatibility

2014-12-19 Thread Zack Gramana
In the 1.0.4 release, both .NET and Java should have the same schema as iOS. On Dec 19, 2014, at 11:39 AM, Jens Alfke mailto:j...@couchbase.com>> wrote: On Dec 19, 2014, at 5:25 AM, Ken Courville mailto:krcourvi...@gmail.com>> wrote: As far as I can tell, views added to a cblite file and upd

Re: Platform View Compatibility

2014-12-19 Thread Jens Alfke
> On Dec 19, 2014, at 5:25 AM, Ken Courville wrote: > > As far as I can tell, views added to a cblite file and updated on one > platform (say .NET) cannot operate at all on another platform (Android). Is > this a correct statement, or am I missing something? Are you talking about copying a d

Re: Platform View Compatibility

2014-12-19 Thread Zack Gramana
They should be portable. If you find otherwise, please file Github issue. On Dec 19, 2014, at 9:47 AM, Ken Courville mailto:krcourvi...@gmail.com>> wrote: Hello, As far as I can tell, views added to a cblite file and updated on one platform (say .NET) cannot operate at all on another platform

Platform View Compatibility

2014-12-19 Thread Ken Courville
Hello, As far as I can tell, views added to a cblite file and updated on one platform (say .NET) cannot operate at all on another platform (Android). Is this a correct statement, or am I missing something? -- You received this message because you are subscribed to the Google Groups "Couchbas