couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Newson <>
Subject Re: external access to task_status methods?
Date Tue, 17 Feb 2009 01:21:49 GMT
Yes, I could define a syntax for querying the indexing state. My
motivation was to get the status of this long-running task where all
the others are, for consistency.

Still, it might be handy to have a means to return a detailed summary
of the index state anyway, I'll think on that.

For now, I'm moving on to separate the indexing process from the
searching one and the former to be driven by update notifications for
more timely indexing.


On Tue, Feb 17, 2009 at 1:18 AM, Chris Anderson <> wrote:
> 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
> clause.
> --
> Chris Anderson

View raw message