Couchbase Q&A

Have a Question? Get it answered by our community

acpadhi's picture
Asked 7 min 21 sec ago

Fatal error: Uncaught exception 'CouchbaseServerException' with message '[0, ]' in xyz.php on line x

Fatal error: Uncaught exception 'CouchbaseServerException' with message '[0, ]' in xyz.php on line x

Getting this error in PHP SDK.

Trying to get results of a view without any additional parameters being sent.

This happens frequently. Actually if you keep on reloading the...

isanfulia's picture
Asked 19 min 19 sec ago

Querying Views using a POST request instead of GET (key limit)

Hi all,

I was trying to query view with many keys(around 20K) using the Java api but this results in exception. The reason I think is because the query is fired as a GET request which has the limit on the number of characters in the URL. Is there a way to do a POST request on view using...

ohassidi's picture
Asked 1 hour 13 min ago
Latest activity 25 min 41 sec ago

where fieldName in [value1, value2]

Hey

I saw that "where fieldName in [value1, value2]" is the same as "where fieldName=value1 or fieldName=value2 which is great the thing is that when using the in array I can't add an "and" after which where in "or" I can do an "and" after. For example:

where name in [value1,...

acpadhi's picture
Asked 5 hours 27 min ago

Best way to get results - Sort by 2 columns, one in ascending and other in descending

Data structure :
{
"id": "2919220",
"country_code": "US",
"ascii_city_name": "downey",
"city_name": "Downey",
"region": "CA",
"population": "111862",
"latitude": "33.9400000",
"longitude": "-118.1316667",
"...

joshmuza@gmail.com's picture
Asked 10 hours 15 min ago

Erlang/OTP still off the supported Client SDK list for Couchbase server

Dear Couchbase,
i am writing as well as requesting on behalf of the growing Erlang/OTP community. Please re-consider and assign resources to have an officially supported Erlang client to the amazing Database - Couchbase.

The Erlang community is still glued to CouchDB as well as old...

jrgcampuzano's picture
Asked 18 hours 36 min ago

how to call a spatial view using node.js?

Hi there:

I'm trying to get a spatial view, it seems that the couch can not query. The error be delayed after around a minute is 'Unexpected'.

any suggestions would be appreciated.

Here's the code I'm using node.js

...
navindian's picture
Asked 1 day 4 hours ago
Latest activity 1 day 3 hours ago

scala sample

Hi

I wish to develop a client application based on scala. Please provide any references asap.

Thanks
navajyothi

sivailango.s's picture
Asked 1 day 4 hours ago

Sort by particular field rather than key

Hi,

- I have the documents which has 'order' field. I have to get all records sort by order field.
- User id 3 has more document like below, each has 'order'. Now i want to get all documents by the userId with sort by order. Now i could get all documents of userId is 3....

acpadhi's picture
Asked 1 day 8 hours ago

memcached constant load 20% to 30% in spite of no activity at all.

Hello Couchbase Team,

Thanks for getting such a wonderful product and concept to people. The tech talks and videos have been awesome too. A little setback : I see that the community is not very active yet in answering questions, loads of answers still remain unanswered. A lot of...

teriyaki's picture
Asked 1 day 21 hours ago

Is it possible to keep the connection of couchbase?

I use the code below to query from couchbase

var KDatabase = function() {

};
KDatabase.prototype.query1 = function(userName) {
var couchbase = require('couchbase');
var db = new couchbase.Connection({

host: "...

Pages