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

Reply via email to