jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Guggisberg" <stefan.guggisb...@gmail.com>
Subject Re: Is doc addition / indexing synchronous or asynchronous?
Date Fri, 07 Apr 2006 10:53:22 GMT
On 4/7/06, thomasg <thomasgascoigne@hotmail.com> wrote:
>
> Hi,
>
> My query is just a search for a word that is in the one document that I add:
> Query query =
> queryManager.createQuery("/jcr:root//element(*,nt:resource)[jcr:contains(.,'Quantum')]",
> Query.XPATH);
> Returns one hit but is still slow (38secs), must be waiting for the indexing
> to happen or some other task before it can run, i am adding a big doc
> (45MB)?
>
> I tried the change of persistence manager, the call to session.save() goes
> up a lot!
> Results:
> XMLPersistenceManager: 10687ms
> DerbyPersistenceManager: 32328ms

are you storing the blob's in the file system (i.e. externalBLOBs=true)?
what is your jvm heap size?

cheers
stefan

> InMemPersistenceManager: 10219ms
> ObjectPersistenceManager: 10776ms
>
> I would have expected the InMem to be significantly quicker. I'm using
> LocalFileSystem, should I change this?
>
> Thanks, Thomas
> --
> View this message in context: http://www.nabble.com/Is-doc-addition-indexing-synchronous-or-asynchronous--t1400122.html#a3801437
> Sent from the Jackrabbit - Dev forum at Nabble.com.
>
>

Mime
View raw message