Hi Team,

Currently one can set "async" flag on an index definition to indicate
wether given index should be effective for synchronous commit or to be
used for async indexing. For Hybrid Lucene indexing case [1] I need to
have a way where same index definition gets used in both.

So if a index definition at /oak:index/fooLuceneIndex is marked as
"hybrid" [2] then we need have LuceneIndexEditorProvider invoked for
both

1. Commit Time - Here the editor would just create Document and not add to index
2. Async indexing time - Here the current implemented approach of
indexing would happen

And in doing that the LuceneIndexEditorProvider needs to be informed
in which mode it is being invoked. So to support that we need some
enhancement in IndexUpdate logic where by same index definition is
used in both mode and editor knows the indexing mode.

Probably this would require a new interface for IndexEditorProvider.

So looking for thoughts on how this can be implemented!

Chetan Mehrotra
[1] 
https://issues.apache.org/jira/browse/OAK-4412?focusedCommentId=15405340&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15405340

[2] Naming convention to be decided/discussed

Reply via email to