You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Fedor Indutny (JIRA)" <ji...@apache.org> on 2010/12/08 11:29:00 UTC

[jira] Created: (COUCHDB-979) Use list function for _changes API

Use list function for _changes API
----------------------------------

                 Key: COUCHDB-979
                 URL: https://issues.apache.org/jira/browse/COUCHDB-979
             Project: CouchDB
          Issue Type: New Feature
          Components: Database Core
    Affects Versions: 1.0.1
            Reporter: Fedor Indutny


Add functionality to transform _changes with list functions, for example:

http://somehost:5984/_design/name/_list/list-name/_changes?feed=longpoll

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


[jira] Commented: (COUCHDB-979) Use list function for _changes API

Posted by "Fedor Indutny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12969296#action_12969296 ] 

Fedor Indutny commented on COUCHDB-979:
---------------------------------------

I think, I can do it.

> Use list function for _changes API
> ----------------------------------
>
>                 Key: COUCHDB-979
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-979
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: Database Core
>    Affects Versions: 1.0.1
>            Reporter: Fedor Indutny
>
> Add functionality to transform _changes with list functions, for example:
> http://somehost:5984/_design/name/_list/list-name/_changes?feed=longpoll

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


[jira] Commented: (COUCHDB-979) Use list function for _changes API

Posted by "Fedor Indutny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12969309#action_12969309 ] 

Fedor Indutny commented on COUCHDB-979:
---------------------------------------

BTW, I think that _show function would be more useful, because if _changes was asked with ?feed=continuous option - ddocs will be rendered one by one.
To my mind, this shouldn't be an exception.

> Use list function for _changes API
> ----------------------------------
>
>                 Key: COUCHDB-979
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-979
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: Database Core
>    Affects Versions: 1.0.1
>            Reporter: Fedor Indutny
>
> Add functionality to transform _changes with list functions, for example:
> http://somehost:5984/_design/name/_list/list-name/_changes?feed=longpoll

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


[jira] Commented: (COUCHDB-979) Use list function for _changes API

Posted by "Benoit Chesneau (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12969273#action_12969273 ] 

Benoit Chesneau commented on COUCHDB-979:
-----------------------------------------

I think 

http://host/db/_changes?feed=longpoll&transform=dname/funname would be more appropriate. So we can handle specific code to manage continuous replication or just render a change.

> Use list function for _changes API
> ----------------------------------
>
>                 Key: COUCHDB-979
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-979
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: Database Core
>    Affects Versions: 1.0.1
>            Reporter: Fedor Indutny
>
> Add functionality to transform _changes with list functions, for example:
> http://somehost:5984/_design/name/_list/list-name/_changes?feed=longpoll

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


[jira] [Commented] (COUCHDB-979) Use list function for _changes API

Posted by "Jan Lehnardt (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020787#comment-13020787 ] 

Jan Lehnardt commented on COUCHDB-979:
--------------------------------------

What would be a practical use case for this? Would this use case work with all ?feed= options?



> Use list function for _changes API
> ----------------------------------
>
>                 Key: COUCHDB-979
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-979
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: Database Core
>    Affects Versions: 1.0.1
>            Reporter: Fedor Indutny
>
> Add functionality to transform _changes with list functions, for example:
> http://somehost:5984/_design/name/_list/list-name/_changes?feed=longpoll

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Commented: (COUCHDB-979) Use list function for _changes API

Posted by "Benoit Chesneau (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12969310#action_12969310 ] 

Benoit Chesneau commented on COUCHDB-979:
-----------------------------------------

This is not an existing features. Changes are sending a different response than a lists or a views, so it will require different handling in the handler.

Also API is more consistent like this, we are speaking to transform the _change resource not the _view resource.


- Benoit.

> Use list function for _changes API
> ----------------------------------
>
>                 Key: COUCHDB-979
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-979
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: Database Core
>    Affects Versions: 1.0.1
>            Reporter: Fedor Indutny
>
> Add functionality to transform _changes with list functions, for example:
> http://somehost:5984/_design/name/_list/list-name/_changes?feed=longpoll

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


[jira] Commented: (COUCHDB-979) Use list function for _changes API

Posted by "Robert Newson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12969305#action_12969305 ] 

Robert Newson commented on COUCHDB-979:
---------------------------------------

-1 on a new API (transform=) to support an existing feature (list functions) on an existing feature (_changes).

> Use list function for _changes API
> ----------------------------------
>
>                 Key: COUCHDB-979
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-979
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: Database Core
>    Affects Versions: 1.0.1
>            Reporter: Fedor Indutny
>
> Add functionality to transform _changes with list functions, for example:
> http://somehost:5984/_design/name/_list/list-name/_changes?feed=longpoll

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


[jira] [Commented] (COUCHDB-979) Use list function for _changes API

Posted by "Fedor Indutny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020796#comment-13020796 ] 

Fedor Indutny commented on COUCHDB-979:
---------------------------------------

Yep, with all.

That can be useful if one will want to transfer part of documents on _changes, especially when full versions are big.

> Use list function for _changes API
> ----------------------------------
>
>                 Key: COUCHDB-979
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-979
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: Database Core
>    Affects Versions: 1.0.1
>            Reporter: Fedor Indutny
>
> Add functionality to transform _changes with list functions, for example:
> http://somehost:5984/_design/name/_list/list-name/_changes?feed=longpoll

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Commented: (COUCHDB-979) Use list function for _changes API

Posted by "Benoit Chesneau (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12969315#action_12969315 ] 

Benoit Chesneau commented on COUCHDB-979:
-----------------------------------------

@rnewson api points doesn't stop to reuse the code anyway.

> Use list function for _changes API
> ----------------------------------
>
>                 Key: COUCHDB-979
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-979
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: Database Core
>    Affects Versions: 1.0.1
>            Reporter: Fedor Indutny
>
> Add functionality to transform _changes with list functions, for example:
> http://somehost:5984/_design/name/_list/list-name/_changes?feed=longpoll

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


[jira] Commented: (COUCHDB-979) Use list function for _changes API

Posted by "Fedor Indutny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12969311#action_12969311 ] 

Fedor Indutny commented on COUCHDB-979:
---------------------------------------

Sorry, I was wrong - that's impossible

> Use list function for _changes API
> ----------------------------------
>
>                 Key: COUCHDB-979
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-979
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: Database Core
>    Affects Versions: 1.0.1
>            Reporter: Fedor Indutny
>
> Add functionality to transform _changes with list functions, for example:
> http://somehost:5984/_design/name/_list/list-name/_changes?feed=longpoll

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