[
https://issues.apache.org/jira/browse/OAK-1462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14027631#comment-14027631
]
Chetan Mehrotra commented on OAK-1462:
--------------------------------------
Done the OSGi integration as part of http://svn.apache.org/r1601853
* Tracks NodeAggrgator and Analyze and registers them with LuceneIndexProvider
* Analyze though cannot be substituted currently as we do not export Lucene
packages
[~alex.parvulescu] Can you check the LuceneSupportTest added as part
[r1601854|http://svn.apache.org/r1601854]. I wanted to assert that
NodeAggrgator gets picked up and used but was not able to come up with the
query.
> Aggregate Index isn't usable in an osgi environment
> ---------------------------------------------------
>
> Key: OAK-1462
> URL: https://issues.apache.org/jira/browse/OAK-1462
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core, query
> Reporter: Alex Parvulescu
> Assignee: Chetan Mehrotra
> Fix For: 1.1
>
>
> There are a few issues with the Aggregate Index in an osgi env.
> - First the cost is the same as the wrapped index. This is not really about
> osgi, but the fact that in an osgi enabled environment there will be 2
> indices returning the same cost (ex. lucene and aggregate lucene) so some
> full-text queries may fail randomly.
> - Second, there are no osgi annotations on the Aggregate Index so it is not
> automatically enabled. I'm not sure how to enable that yet.
--
This message was sent by Atlassian JIRA
(v6.2#6252)