You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Vadim Sukhanov (JIRA)" <ji...@apache.org> on 2008/10/11 18:31:44 UTC
[jira] Created: (COUCHDB-137) Get filtered data from many views
with one request
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.
[jira] Updated: (COUCHDB-137) Get filtered data from many views
with one request
Posted by "Vadim Sukhanov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vadim Sukhanov updated COUCHDB-137:
-----------------------------------
Attachment: test_filters.pl
sample script to test patch.
> 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
> Attachments: patch.11.10.08.1.tar.gz, test_filters.pl
>
>
> 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.
[jira] Updated: (COUCHDB-137) Get filtered data from many views
with one request
Posted by "Vadim Sukhanov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vadim Sukhanov updated COUCHDB-137:
-----------------------------------
Attachment: patch.11.10.08.1.tar.gz
> 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
> Attachments: patch.11.10.08.1.tar.gz
>
>
> 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.