Couchbase Questions: Couchbase Mobile

Have a Question? Get it answered by our community

kanundrum's picture
Asked 7 months 3 weeks ago
Latest activity 7 months 3 weeks ago

Is there a way to compact views in couchdb lite for Android

The data for my application continues to increase and I'm aware of the need to occasionally compact but I don't know how to do that via the couchbase lite. I noticed that there is a compact method on CouchDbConnector but that doesn't seem to have a positive effect.

bmhardy's picture
Asked 8 months 3 days ago
Latest activity 3 weeks 5 days ago

Is it possible to import an iOS Titanium Module into Webstorm for code completion

Does anyone know if it's possible to pull in a Titanium module built for iOS (or something too I guess) so that I can have javascript code completion in WebStorm or Titanium Studio IDEs?

I'm using the com.couchbase.cbl-iphone-1.0.zip module for accessing Couchbase lite on iOS via...

AlexR's picture
Asked 8 months 6 days ago
Latest activity 8 months 4 days ago

Syncing to sync gateway doesn't return all docs

Added a sync gateway to couchbase lite ios. It syncs 100 docs but we have 147 in the database. Is there some magic 100 doc limit that is set by default? Any suggestions as to why it's not syncing all the docs?

bmhardy's picture
Asked 8 months 1 week ago
Latest activity 8 months 6 days ago

How to hit the sync url included with the AMI for Amazon

I recently downloaded and ran the pre-built couch base server + sync gateway on ec2.
I have the server running and I can hit it at port 8091. I see in the home directory a sync_gateway.zip. I unzipped it and ran ./sync_gateway ~/config.json. The ports are set for the default gateway ports...

invoodoo's picture
Asked 8 months 2 weeks ago
Latest activity 8 months 2 weeks ago

Pre-built Cuchbase Lite database with indexes

How to make a pre-built couch base lite DB with all indexes that were made in first run?

There is an issue we have more than 18000+ items and when app start working with DB we have to make indexes, on slower device it takes a lot of time, on some of them 30-60 seconds.

We did try...

invoodoo's picture
Asked 8 months 2 weeks ago
Latest activity 8 months 2 weeks ago

Filter data by two or more fields in document

Is there any way to filter data from DB by two or more fields?

For example, I want to find document by TYPE that equal to Message and DATE that between 1.01.2014 and 18.01.2014?

So, the question could I do anything like NSPredicate and CoreData? Make very flexible searching in...

yuzkan's picture
Asked 8 months 2 weeks ago
Latest activity 8 months 2 weeks ago

Find out if a document has been synchornized with server

Hi,

is it possible to check if a document that has been updated/created on the device has been synchronized with CB Sync Gateway?

Also how can I query for all documents that are not yet synced with CB Sync Gateway if the device is offline?

Thanks,
Yuzkan

sebounetino's picture
Asked 8 months 3 weeks ago
Latest activity 8 months 3 weeks ago

Problem with Ektorp and android

Hello,

I try to use ektorp client for replication in android and I have an error :
org.ektorp.DocumentNotFoundException: nothing found on db path: /_replicate, Response body: {"error":"not_found","reason":"unknown URL"}

I installed a gateway and a CouchBase server.
I...

yuzkan's picture
Asked 8 months 3 weeks ago
Latest activity 8 months 2 weeks ago

Sync Gateway does not import pre-existing documents

Hi,

I'm trying to configure Sync Gateway to import existing document from my bucket but nothing is happening.
I've downloaded the latest sources for sync gateway from git and compiled an executable for windows.

This is my configuration file:

...
Evengers's picture
Asked 9 months 3 days ago
Latest activity 8 months 3 weeks ago

Any chance of updating the example app "GrocerySync"?

I've gotten past some of the errors by changing the depreciated methods but have stumbled on

223 - (NSArray*) replicateWithURL: (NSURL*)otherDbURL exclusively: (bool)exclusively
224 __attribute__((deprecated("use replicationsWithURL:, then call -start")));

and then...

Pages