Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7801441
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T00:57:12+00:00 2026-06-02T00:57:12+00:00

Using Couchbase 2.0 dp4 on a Mac Trying to use a list to further

  • 0

Using Couchbase 2.0 dp4 on a Mac

Trying to use a list to further filter my view. At this point I am simply trying to get any list to work with my view. So far all I can get is: {“error”:”unknown_error”,”reason”:”undef”};

Here is my design document:

 {
    "_id": "_design/AllScopes",
    "_rev": "6-48c8555a",
    "views": {
    "AllScopes": {
        "map": "function(doc) {\n\n  if (doc.scope.search(/^\\{?[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\\}?$/i) >= 0)\n  {\n    var obj = {};\n    obj[doc.key] = doc.value;\n    emit(doc.scope, obj );\n  }\n\n}",
        "reduce": "function(keys, values, rereduce) { ..removed..}"
    }
},
"lists": {
    "ListScopes": "function(head, req) {\n  var row;\n  start({\n    \"headers\": {\n      \"Content-Type\": \"text/html\"\n     }\n  });\n  while(row = getRow()) {\n    send(row.value);\n  }\n}"
}

}

When I query my view with: localhost:8092/default/_design/AllScopes/_view/AllScopes?group=true

results in:

{"rows":[
{"key":"016f77d2-dd42-41b4-98e7-50daa14d9e02","value":{"row":"b2f31852-a864-4680-9242-487181844b31","parent":{"_type":"Scope","_id":"ea45da3e-5c91-4ef2-b64e-0158a0c83e79","_template":{"_type":"Template","_path":"_level2.trylistorview","_mode":"server"}},"mode":"edit","g":"4592f903-7815-4e6c-97be-503626c6628c","_template":"_level2.views","_childname":"views","_activefield":"viewname","_active":false}},
{"key":"026bdb98-52eb-4986-a5c1-a0bfaf928af0","value":{"row":"44ff7ff1-c49b-407e-832b-2777dc69f288","parent":{"_type":"Scope","_id":"676b7fea-8cc8-4e7f-a232-f055ad142b58","_template":{"_type":"Template","_path":"_template","_mode":"server"}},"mode":"edit","g":"4592f903-7815-4e6c-97be-503626c6628c","_template":"_template","_activefield":"options","_active":false}}
....
]}

Then try to use the list with view using – localhost:8092/default/_design/AllScopes/_list/ListScopes/AllScopes?group=true.

All I can get is the unknown error above. I have tried different list function code and different url configurations but all fail. This list function is from an example found here: http://wiki.apache.org/couchdb/Formatting_with_Show_and_List#Listing_Views_with_CouchDB_0.10_and_later

Any assistance in how to get a simple list working with a view would be helpful.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T00:57:13+00:00Added an answer on June 2, 2026 at 12:57 am

    I don’t think Couchbase supports lists at the moment, but it is a feature that will be added in the future. Couchbase and CouchDB share a lot in common, but they are not fully compatible with one another.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using rubular.com as a guide, I am trying to get this expression to work
I was using CouchBase Server 1.1.1 for Mac and it's working really well. It
using file_get_contents , I open an Internet URL and get the contents of this
Using Point Cloud Library on Ubuntu, I am trying to take multiple point clouds
I'm using Couchbase 1.8 to store a collection of complex entities in cache. Pretty
using this http://bl.ocks.org/950642 we can see how to add images to nodes, the question
Using CI for the first time and i'm smashing my head with this seemingly
Using the Redis info command, I am able to get all the stats of
Using Location.getBearing(); I seem to get randomly changing bearings. Aka, I can turn the
This question is not necessarily Couchbase 2.0 develop preview specific however I think it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.