Couchbase Q&A

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

Question on how the query results are merged

If I issue the query below:

SELECT *
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 7 months 3 weeks 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 7 months 3 weeks ago
Latest activity 7 months 3 weeks 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...

dgefter's picture
Asked 7 months 3 weeks ago
Latest activity 7 months 2 weeks ago

OperationTimeoutException when reading from replicas

Hi,

I'm running Couchbase 2.2.0 with 3-node cluster and 2 replicas. My client is using Java sdk 1.2.3
I'm testing the failover scenario by shutting down one of the nodes and letting the client read from replicas. I'm doing it to minimize the impact of one of the nodes failing....

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

Dangerous Reduce is not protected

Hey,

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

function (doc)
{
emit(doc.date,1);
}

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

Although using devlopment view with a...

bmhardy's picture
Asked 7 months 3 weeks ago
Latest activity 2 weeks 4 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...

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

Can Java client communications be encrypted?

I'm just looking into Couchbase for the first time and had a quick question.

Does the Couchbase Java client encrypt communications to the Couchbase Server? Or can it be configured to do so?

While I didn't see any mention of "encrypt" in the API, I didn't want to assume "no"...

seybi's picture
Asked 7 months 3 weeks ago
Latest activity 7 months 4 days ago

Problem with Timed out while reading configuration over HTTP

Hi,

I'm trying to benchmark couchbase server 2.2 with the YahooCloudServingBenchmark (YCSB).

I'm using the connector couchbase2.0 of Thumbtack which can be found here: https://github.com/thumbtack-technology/ycsb

I'm...

kay's picture
Asked 7 months 3 weeks ago
Latest activity 7 months 2 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 7 months 3 weeks ago
Latest activity 7 months 3 weeks ago

How To work with values at reduce functions?

Hey,

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.

my...

Pages