[ 
https://issues.apache.org/jira/browse/OAK-3826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vikas Saurabh updated OAK-3826:
-------------------------------
    Attachment: OAK-3826.patch

Attaching [patch|^OAK-3826.patch] which assumes OAK-3815 is resolved using 
OAK-3815-v1-1.patch attached in that issue. The patch removes bind/unbind based 
refresh from LuceneIndexProviderService and the test cases are adjusted 
accordingly.

> Lucene index augmentation doesn't work in Osgi environment
> ----------------------------------------------------------
>
>                 Key: OAK-3826
>                 URL: https://issues.apache.org/jira/browse/OAK-3826
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: lucene
>            Reporter: Vikas Saurabh
>            Assignee: Vikas Saurabh
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: OAK-3826.patch
>
>
> OAK-3576 introduced a way to hook SPI to provide extra fields and query terms 
> for a lucene index.
> In Osgi world, due to OAK-3815, {{LuceneIndexProviderService}} registered 
> references to SPI and pinged {{IndexAugmentFactory}} to update its map. But, 
> it seems bind/unbind methods get called ahead of time as compared to the 
> information Tracker contains. This leads to wrong set of services captured by 
> {{IndexAugmentFactory}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to