incubator-couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Sukhanov (JIRA)" <j...@apache.org>
Subject [jira] Created: (COUCHDB-137) Get filtered data from many views with one request
Date Sat, 11 Oct 2008 16:31:44 GMT
Get filtered data from many views with one request
--------------------------------------------------

                 Key: COUCHDB-137
                 URL: https://issues.apache.org/jira/browse/COUCHDB-137
             Project: CouchDB
          Issue Type: New Feature
          Components: HTTP Interface
            Reporter: Vadim Sukhanov


This patch allows to request any numbers of views by one http request.
Result of each view can be processed by chain of filters defined in a request.
Also user can define a filters to united data.

For example, filter can sort data by any way you want or returns a totaly new data set.

How to apply patch:
1) copy patch to couchdb source dir
2) Extract patch archive by command:
    $ tar -xzvf patch.11.10.08.1.tar.gz
    this add a new file "src/couchdb/couch_httpd_general_view.erl" and patch itself.

3)  apply patch 
    $ patch -p0 < 11.10.2008.1.patch

4) add to local.ini next lines
[httpd_global_handlers]                                                                  
                    
_general_view = {couch_httpd_general_view, handle_general_view_req}

5) make, make install and restart couchdb


p.s. i've done patch against 703638 revision


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message