jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: Is doc addition / indexing synchronous or asynchronous?
Date Mon, 10 Apr 2006 08:24:27 GMT
thomasg wrote:
> Yep, I call session.save() and then do the query straight after. I'm adding a
> 45MB Word document. This surely means that most of the work being done to
> add a document (saving data, text extraction, indexing) is being done
> asynchronously from the call to session.save()? If save() returns and then a
> simple query straight after takes 37s, then this must be the case?

yes, I also think that's the case. you can verify by simply re-execute 
the query and measure the execution time. if the second query is much 
faster then it's most probably the text extraction that takes that much 
time.

I've created a enhancement issue in jira: 
http://issues.apache.org/jira/browse/JCR-390

regards
  marcel

Mime
View raw message