jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: Flush Index
Date Mon, 24 Nov 2008 11:11:14 GMT

chokdee wrote:
> I am trying to synchronize my code with the index for a unit test.
> It seems to be that I can not use the QueryManager immediately after adding
> a node to search this node.
> Is this right? 

the query manager will always execute the query against all persisted changes.
can you please double check that you called save() and committed the transaction
(if there is one) before you execute the query?

> The MultiIndex is running as a background thread and I can tell him how
> often it should run. 
> But can I synchronize it?

what exactly do you mean with 'synchronize it'?


View raw message