You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Zsolt Czinkos <cz...@gmail.com> on 2010/08/26 12:21:36 UTC
_changes response in a custom format
Hello,
I'm a newbie here in the couchdb world. I've read some papers, given
couchdb a try and now I have one question I can't answer.
Is it possible to get _changes document in a custom format, for
example XML? Can I use a show function here somehow (or a view)?
I'm planning to use couchdb and Solr together, and _changes api looks
promising to provide changes since last indexing. It would be very
easy to feed Solr with its own XML format if I could get it directly
from couchdb.
Thanks in advance.
Zsolt
Re: _changes response in a custom format
Posted by Zsolt Czinkos <cz...@gmail.com>.
Thanks, Zach. Then I'll try to figure out something else. Maybe I'll
create a list with a range based on created_at date.
Best,
Zsolt
On Thu, Aug 26, 2010 at 4:48 PM, Zachary Zolton
<za...@gmail.com> wrote:
> Zsolt,
>
> There is currently no built-in functionality to transform the _changes
> feed. Your best bet would be to use your favorite web scripting tools
> (Rails, PHP, CGI, etc) in between CouchDB's _changes and Solr.
>
> Cheers,
> Zach
>
> On Thu, Aug 26, 2010 at 5:21 AM, Zsolt Czinkos <cz...@gmail.com> wrote:
>> Hello,
>>
>> I'm a newbie here in the couchdb world. I've read some papers, given
>> couchdb a try and now I have one question I can't answer.
>>
>> Is it possible to get _changes document in a custom format, for
>> example XML? Can I use a show function here somehow (or a view)?
>>
>> I'm planning to use couchdb and Solr together, and _changes api looks
>> promising to provide changes since last indexing. It would be very
>> easy to feed Solr with its own XML format if I could get it directly
>> from couchdb.
>>
>>
>>
>> Thanks in advance.
>>
>> Zsolt
>>
>
Re: _changes response in a custom format
Posted by J Chris Anderson <jc...@apache.org>.
On Aug 26, 2010, at 7:48 AM, Zachary Zolton wrote:
> Zsolt,
>
> There is currently no built-in functionality to transform the _changes
> feed. Your best bet would be to use your favorite web scripting tools
> (Rails, PHP, CGI, etc) in between CouchDB's _changes and Solr.
>
I would love to see a patch that allows _list like functionality to be applied to _changes.
I think this would enable Web chat in browsers without JavaScript enabled, among other cool things.
Chris
> Cheers,
> Zach
>
> On Thu, Aug 26, 2010 at 5:21 AM, Zsolt Czinkos <cz...@gmail.com> wrote:
>> Hello,
>>
>> I'm a newbie here in the couchdb world. I've read some papers, given
>> couchdb a try and now I have one question I can't answer.
>>
>> Is it possible to get _changes document in a custom format, for
>> example XML? Can I use a show function here somehow (or a view)?
>>
>> I'm planning to use couchdb and Solr together, and _changes api looks
>> promising to provide changes since last indexing. It would be very
>> easy to feed Solr with its own XML format if I could get it directly
>> from couchdb.
>>
>>
>>
>> Thanks in advance.
>>
>> Zsolt
>>
Re: _changes response in a custom format
Posted by Zachary Zolton <za...@gmail.com>.
Zsolt,
There is currently no built-in functionality to transform the _changes
feed. Your best bet would be to use your favorite web scripting tools
(Rails, PHP, CGI, etc) in between CouchDB's _changes and Solr.
Cheers,
Zach
On Thu, Aug 26, 2010 at 5:21 AM, Zsolt Czinkos <cz...@gmail.com> wrote:
> Hello,
>
> I'm a newbie here in the couchdb world. I've read some papers, given
> couchdb a try and now I have one question I can't answer.
>
> Is it possible to get _changes document in a custom format, for
> example XML? Can I use a show function here somehow (or a view)?
>
> I'm planning to use couchdb and Solr together, and _changes api looks
> promising to provide changes since last indexing. It would be very
> easy to feed Solr with its own XML format if I could get it directly
> from couchdb.
>
>
>
> Thanks in advance.
>
> Zsolt
>