jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Mueller <muel...@adobe.com>
Subject Re: Re (OAK-36) Implement a query parser - what about indexing?
Date Thu, 22 Mar 2012 08:36:09 GMT

>OAK-36 covers the Query implementation effort, but I'm wondering if now
>would be a good time to mention indexing as well.
>We want to have dedicated indexes, I think that would be accomplished via
>Any ideas about the availability of this feature?

Sure. One such a mechanism is implemented, and currently lives under
org.apache.jackrabbit.mk.index. It is not yet "wired" to
org.apache.jackrabbit.oak.query.index. This mechanism stores the index
data in nodes and properties, as a tree (using just the MicroKernel API).
This mechanism is supposed to be as scalable as the MicroKernel
implementation (support concurrent writes if the MicroKernel
implementation supports it).

>The current index implementation just traverses the existing nodes (albeit
>applying some path constraints first),

Yes, that's org.apache.jackrabbit.oak.query.index.TraversingReader

>This helps with testing the query parser & friends, but a lucene based
>query engine needs events to update its data.

Given the scalability requirements defined at [1] (specially concurrent,
scalable writes in multiple cluster nodes) we plan to support other
(non-Lucene) index mechanisms as well. Personally, I believe we should use
Lucene for fulltext indexing, because that's what Lucene is meant for. But
I'm not sure how a fully scalable fulltext index using Lucene would look
like. That's still an open question we need to resolve, or define the
limitations in this area.



View raw message