couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Anderson <>
Subject Re: external access to task_status methods?
Date Tue, 17 Feb 2009 01:18:12 GMT
On Mon, Feb 16, 2009 at 5:00 PM, Robert Newson <> wrote:
> All,
> I'm working on couchdb-lucene
> ( and would like to provide
> feedback on long-running index tasks (which could take minutes
> depending on the amount of change) the same way that compaction and
> view generation feedback is provided.
> Specifically, some way to call add_task and update from an external. I
> appreciate that cleanup is currently mediated by Erlang process
> management. Externals would need a remove_task method, which is not
> ideal.
> Any thoughts?

The simplest thing for now would be to manage queries for the current
status within your external itself. Since incoming queries already get
passed to it, it's just matter of setting up a status responder

Chris Anderson

View raw message