Couchbase Q&A

Have a Question? Get it answered by our community.
Looking for the old Couchbase Forum? Click here (read-only).
jygan's picture
Asked 1 year 4 months ago
Latest activity 1 year 4 months ago

question regarding C client library

I'm using libcouchbase, have couple questions here:
1. lcb_datatype_t is ENUM ? what is the possible value of lcb_datatype_t? i tried to use LCB_JSON, my code cannot be compile, cannot find this type. can anyone point out the definition of lcb_datatype_t?
typedef lcb_uint8_t...

jpoloney's picture
Asked 1 year 4 months ago
Latest activity 1 year 3 months ago

Customizing elasticsearch indexes from Couchbase ES plugin

Hey all,
This is more a question with ElasticSearch, but it's only because the data is coming from Couchbase. Was wondering if any one else is more familiar with this than I am.
I'm trying to figure out how to customize our elasticsearch index that is being populated from the...

rkb's picture
Asked 1 year 4 months ago
Latest activity 1 year 3 months ago

What is the difference between Fail Over and Remove?

Practically I would like to know the difference between Fail Over and Remove. If one server is acting up I would probably "remove" it from the cluster and then when the problem is resolved reboot the server and add it back into the cluster. Doesn't "Fail Over" do the same thing? I would think...

bjorg's picture
Asked 1 year 4 months ago
Latest activity 1 year 4 months ago

What recommendations do you have on EC2 instances?

I'm curious as to what EC2 instance would be recommended to run a single Couchbase node. This isn't for production use, but rather some simple map-reduce computation of ~3M records.

The two EC2 instance sizes that I'm debating between are:

1) Extra Large (m1.xlarge), 4 virtual...

cschlupp's picture
Asked 1 year 5 months ago
Latest activity 1 year 4 months ago

Re-adding documents fails

Hi folks,
I experienced a weird behaviour on my Couchbase cluster running version 2.0.1 community edition (build-170-rel).
Through PHP-lib I execute the following code:

  $json =
...
rkb's picture
Asked 1 year 5 months ago
Latest activity 1 year 4 months ago

Query options

In Java there are methods for setting the start and end document ID key (setStartkeyDocID() setEndkeyDocID()) and there are methods to set the key (setKey() and setKeys()) and key range (setRange(), setRangeStart(), setRangeEnd(), etc.). I am unclear as to the difference? When I setup a view the...

erkansahin's picture
Asked 1 year 5 months ago
Latest activity 1 year 5 months ago

Same View Different Query Time

We develop our institutional project. We use couchbase for data management.We try same query many times from couchbase .Thats are same query but executing times are different.First 0.2 seconds second 1.7 third 0.6 ...How can i solve this problem.Because now couchbase has test data.It is only...

ebrue's picture
Asked 1 year 5 months ago
Latest activity 1 year 5 months ago

How do I tell what version of the PHP SDK I am running?

How do I tell what version of the PHP SDK I am running? From "php -i | grep couchbase" I get this:
couchbase
couchbase support => enabled
couchbase.compression_factor => 1.3 => 1.3
couchbase.compression_threshold => 2000 => 2000
couchbase.compressor...

rkb's picture
Asked 1 year 5 months ago
Latest activity 1 year 2 months ago

Create a design document with Java?

How do I create a design document (or for that matter a view) using the Java API?
I found this link http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-... but it doesn't explain what...

bjorg's picture
Asked 1 year 5 months ago
Latest activity 1 year 5 months ago

How do you rename a development view?

I must be blind, but I don't see a way to rename a development view. Copy-pasting to a new view is easy, but tedious. What am I missing?!?

Pages