Giter Site home page Giter Site logo

surnaik / couchdb Goto Github PK

View Code? Open in Web Editor NEW

This project forked from couchbase/couchdb

0.0 0.0 0.0 25.02 MB

CouchDB

License: Apache License 2.0

CMake 0.76% Shell 1.33% Smarty 0.12% Erlang 72.34% C++ 3.36% C 7.36% JavaScript 5.38% Python 8.78% Ruby 0.57%

couchdb's Introduction

Couchbase CouchDB (github.com/couchbase/couchdb)

This is my personal checkout of the Couchbase CouchDB to modify and test experimental features and to work locally

All the changes made here may or may not work with the official Couchbase build scripts and even if it builds may not behave as you expected.


I am trying to support Couchbase Collections in Couchbase/CouchDB. If successfull, there are few cool things you can do.

  • CRUD views on collections within a scope rather than entire bucket.

  • REST api for CRUD of views would include /<scope_name>/<collection_name> to ensure views are created on proper collections.

  • Views on entire bucket will still be supported through default collections.

  • View Index will be built for a particular collection.

  • Upgrading from older version with view on buckets, will transform to views on default collections.


Couchbase CouchDB is the codebase for the view engine of Couchbase. It is a mapreduce query and indexing engine. The mapreduce code is written in JavaScript (see the Couchbase docs). The map function emits keys, which becomes the nodes of the index tree and the reduce function is applied only to the leaf nodes. Unlike Hadoop Mapreduce, this is incremental in nature. The mapping and reducing is done only on the changed data.

Views as of now can only be created on buckets. I am trying to modify it to support Couchbase Collections, with which indexes can be built only on the collection of user's choice rather than the entire bucket resulting in faster index building if the data in collection is very small compared to entire bucket.

couchdb's People

Contributors

fdmanana avatar janl avatar jchris avatar davisp avatar kocolosk avatar cmlenz avatar t3rm1n4l avatar rnewson avatar hsharsha avatar aartamonau avatar ankitprabhu avatar jasondavies avatar jeelanp2003 avatar bcui6611 avatar apage43 avatar trondn avatar timofey-barmin avatar dustin avatar farshidce avatar abhi-bit avatar vzasade avatar chiyoung avatar daleharvey avatar vmx avatar bigbluehat avatar ceejatec avatar surnaik avatar daverigby avatar steveyen avatar tilgovi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.