You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Ard Schrijvers <a....@hippo.nl> on 2007/07/27 15:02:59 UTC

question regarding jackrabbit index implementation

Hello,

I have been looking at the org.apache.jackrabbit.core.query.lucene implementation, and I do not understand what the reason(s) for multiple persistent indices has been (for one single workspace)? 

I do understand the choice for a VolatileIndex and a PersistentIndex obviously, but I just can't get a grip on why multiple persistent indices are created, and the lucene segment similar merging algorithms are done on multiple persistent indices? Is it done for performance technical reasons?

Can somebody enlight me on the reasons and benefits of the multiple Persistent indices per workspace (I am ofcourse sure there are good reasons, but I just can't seem to be able to grasp it yet :-) )? 

thanks in advance,

Regards Ard 

-- 

Hippo
Oosteinde 11
1017WT Amsterdam
The Netherlands
Tel  +31 (0)20 5224466
-------------------------------------------------------------
a.schrijvers@hippo.nl / ard@apache.org / http://www.hippo.nl
-------------------------------------------------------------- 

Re: question regarding jackrabbit index implementation

Posted by Marcel Reutegger <ma...@gmx.net>.
Ard Schrijvers wrote:
> Can somebody enlight me on the reasons and benefits of the multiple
> Persistent indices per workspace (I am ofcourse sure there are good reasons,
> but I just can't seem to be able to grasp it yet :-) )?

the reasons are described briefly here:

http://jackrabbit.apache.org/doc/arch/operate/query.html#Query Engine

let us know if you need further explanation.

regards
  marcel