[daisy] delay time
Bruno Dumon
bruno at outerthought.org
Wed Mar 26 09:51:56 CET 2008
On Tue, 2008-03-25 at 17:25 -0400, Thomas.Connally at dds.net wrote:
>
> What is the delay between the time you add a doc and when the full
> text index is updated in Daisy?
As Karel noted, there is no specific delay. If a document gets updated,
an event is created in the database table called "events". A separate
thread polls this table every 5 seconds and creates JMS messages from
the records in that table (it is done this way so that the creation of
the JMS event would be atomic with the database updates which the
message is about). After the JMS message is created, it is received by
the fulltext indexer, which will perform the update.
There are no delays except for the polling which happens only every 5
seconds.
If you're doing automated mass updates of documents, it is likely that
the updates will be faster than the fulltext indexer can index. You can
use the JMX console to follow up on the progress of the fulltext
indexing. See also the notes at the bottom of
http://cocoondev.org/daisydocs-2_2/373-cd/18-cd.html
With Daisy 1.5, there were issues with the JMS component, it could block
so that no messages where delivered anymore, to solve it you had to
restart the repository server.
--
Bruno Dumon http://outerthought.org/
Outerthought http://www.daisycms.org/
bruno at outerthought.org http://www.kauriproject.org/
More information about the daisy
mailing list