Couchbase Questions: Couchbase Server

Have a Question? Get it answered by our community

jakjak's picture
Asked 7 months 4 weeks ago

RestAPI pools/default not always returning otpNode

Is there a reason why the otpNode and otpCookie are not always sent in the response to a pools/default request? Is there another response that contains this for everynode? I need to initiate a manual failover and that rest request require the otpNode as the parameter.

jazneil's picture
Asked 8 months 21 min ago

Pagination using scoring algorithm


I have 2 types of Documents, users and posts. Basically a user makes multiple posts. Each post records how many times somebody likes, comments on or reshares the post.

I want a simple query to get users sorted by the total number of likes, comments, reshares across all posts...

frostyyetti's picture
Asked 8 months 7 hours ago

Question on how the query results are merged

If I issue the query below:

FROM tutorial
WHERE fname = 'Ian'

does it scan all the documents in 'tutorial' bucket in many servers to produce the result? Is it smart to use the secondary index or if the data exists in Elastic search?

igal.dahan's picture
Asked 8 months 1 day ago

add spatial view with REST API

HI i would like to add spatial view with REST API, where i have additional views on the same document, so i think i have to correct command, i didnt get error, but still i cannot see that in the web console.
could you help me here?

here is the command :

# curl -X PUT -H'...

frostyyetti's picture
Asked 8 months 3 days ago
Latest activity 8 months 7 hours ago

Indexing and querying documents

I'm evaluating Couchbase vs. MongoDB for storing JSON documents.

1. Is there a way to index documents real-time? For example, if a user writes the data and a query is issued using index, I want to get the recently updated data.

2. Here is a scenario. I have millions of documents...

amir_maman's picture
Asked 8 months 3 days ago
Latest activity 7 months 3 weeks ago

Dangerous Reduce is not protected


So i tried to following reduce function for testing the fail over system with couchdb:

function (doc)

Well this is not working , but its also crash all server at the cluster completly!!

Although using devlopment view with a...

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

Changing watermark thresholds doesn't work in percentages

When I start couchbase and set watermark limit in percents for warm-up - warming-up stops. Is it a bug?

The commands I use:
/opt/couchbase/bin/cbepctl localhost:11210 -b default set flush_param mem_log_wat 90
/opt/couchbase/bin/cbepctl localhost:11210 -b default set...

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

How To work with values at reduce functions?


I am trying to learn how to use map reduce functions with couch base. until now i created reports engines based on SQL using Where with multi terms (adding and subtracting terms) and to modify the group part.

I am trying to create this report engine using views.


bj's picture
Asked 8 months 6 days ago
Latest activity 7 months 4 weeks ago

How can I change the installation location?

I want to install Couchbase 2.1.1 on Linux and it seems very difficult to get it to install anywhere other than /opt/couchbase.

The problem is that /opt on our servers isn't large enough, and me have a large /disk2 partition that we want to install it on.

* I tried the --prefix...

babakita's picture
Asked 8 months 6 days ago
Latest activity 2 months 2 weeks ago

Crash on couchbase-server 2.2 start

I have installed couchbase-server-2.2 on rhel 6.4 system and I get the following error while starting couchbase-server as a deamon:

> daemon "/bin/su -s /bin/sh -c \"/opt/couchbase/bin/couchbase-server -- -noinput -detached\" couchbase"