[
https://issues.apache.org/jira/browse/OAK-7686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16572179#comment-16572179
]
Vikas Saurabh commented on OAK-7686:
------------------------------------
[~tomek.rekawek]
bq. Because there's no LuceneIndexEditorProvider included there, some index
definitions can't be processed, producing an log message Missing index provider
of type [lucene].
Since "lucene" indexes have {{async=XYZ}}, I think {{IndexUpdate}} \[0]
instantiated with async=null would care about them. The only reason I could
think of {{IndexUpdate}} caring about lucene indexes is if they have "sync" or
"nrt" configured in "async" property.
A simple test for this is that the indexes that log the warning in description
won't have any index with simple {{async=["async"]}} (e.g. most likely
/oak:index/lucene).
If that "guess" turns out to be true, the I think the right solution would be
that {{IndexUpdate}} shouldn't try to set "reindex=true" for updates it's
trying for "nrt"/"sync".
About up/sidegrade indeed updating lucene indexes should be a separate issue
imo.
\[0]:
https://github.com/apache/jackrabbit-oak/blob/9db5053c83cb4cbe3ab5516c87364e057ec3c8ef/oak-upgrade/src/main/java/org/apache/jackrabbit/oak/upgrade/RepositoryUpgrade.java#L624
> Partial migration doesn't update Lucene indexing data
> -----------------------------------------------------
>
> Key: OAK-7686
> URL: https://issues.apache.org/jira/browse/OAK-7686
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: upgrade
> Reporter: Tomek Rękawek
> Priority: Major
> Fix For: 1.10
>
>
> It seems that the LuceneIndexProvider is missing in the RepositorySidegrade
> index provider list. As a result, for the partial migration, the lucene
> indexing data is not updated for the copied content:
> {noformat}
> 25.07.2018 00:19:47.008 [main] *WARN*
> org.apache.jackrabbit.oak.plugins.index.IndexUpdate - Missing index provider
> of type [lucene], requesting reindex on [/oak:index/slingeventJob]
> 25.07.2018 00:19:47.580 [main] *WARN*
> org.apache.jackrabbit.oak.plugins.index.IndexUpdate - Missing index provider
> of type [lucene], requesting reindex on [/oak:index/ntBaseLucene]
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)