Couchbase Q&A

Have a Question? Get it answered by our community.
Looking for the old Couchbase Forum? Click here (read-only).
adiefatlady's picture
Asked 3 weeks 5 days ago

Howto create an index for date range

I would need to be able to get documents based on them being "active". A document is active if its online and "now" is between the start and stop date.

e.g.
{
online:true,
startDate:"2014-01-01",
stopDate:"2014-01-10"...

Lev's picture
Asked 3 weeks 5 days ago
Latest activity 3 weeks 5 days ago

Log4j appender for couchbase

Hi,

I"m looking for Couchbase implementation of log4j appender similar to the org.log4mongo.MongoDbAppender, so I will switch easily from The MongoDB to the Couchbase.

Thanks,
Lev.

agstudy's picture
Asked 3 weeks 6 days ago
Latest activity 2 days 1 hour ago

R SDK client?

Hi all,

First of all thanks for this fantastic work.
I am planning to create a new couchbase SDK client for the R language. The idea is to use a wrapper around the C library libcouchbase.

I am confused with some notions especially the callback. Here my pseudo code with some...

Stag's picture
Asked 3 weeks 6 days ago
Latest activity 3 weeks 4 days ago

Couchbase doesn't recognize disk

Couchbase Server doesn't recognize free disk space, says 0 GB free.

bmhardy's picture
Asked 4 weeks 10 hours ago
Latest activity 4 weeks 8 hours ago

User's "My Data"

Hello,

I want users to have their own personal data. For instance I want users to have a schedule of meetings. What is a good strategy for doing this with couchbase? I'm using couchbaseLite on Android. Please give me an outline of the steps necessary to provide this functionality.

...

mseabourne's picture
Asked 4 weeks 14 hours ago
Latest activity 3 weeks 5 days ago

Unable to locate node errors in client during rebalance

Hello,

Any help/suggestions would be appreciated. Thanks!

-------------

Problem:

When a couchbase node is removed or failed over we receive "Unable to locate node" errors on every request/insert until the node finishes rebalancing. These errors are only thrown on...

adonoho's picture
Asked 4 weeks 16 hours ago

Definition of Key Collation Order

Gentlefolk,

The advice for creating document keys is to create keys that mostly increase as you insert documents. Keys are also collated by a Unicode UTF-8 collation order. As there are many code points in UTF-8, I would like to ensure that the encoding for my keys preserves this property...

yuzkan's picture
Asked 4 weeks 23 hours ago
Latest activity 4 weeks 19 hours ago

Errors in Couchbase Sync Gateway console

Hello,

quite often I get errors like this in the console:

09:39:14.961195 ←[31mWARNING: Error from Incr in _reserveSequences(1): MCRespons
e status=DELTA_BADVAL, opcode=INCREMENT, opaque=0, msg
...
andyusac's picture
Asked 4 weeks 1 day ago

Indexing never stops.

My Couchbase server appears to be re-indexing forever. While in this state the server is unavailable to my client program, which depends on running queries with stale=false.

The server's logs contains 3 to 4 error messages per second like the following, always referencing the same...

Chenos's picture
Asked 4 weeks 1 day ago
Latest activity 4 weeks 1 day ago

ExecuteGet do not return the expected status codes and messages

Hey,

I am using couchbase server 2.2 + couchbase .Net sdk 1.3.3.

While using ExecuteGet method i sometimes get strange result:
StatusCode=1
Message="Not found"
Value= a real value instead of null which is what i expected when the key was not found.

Is this...

Pages