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

Chetan Mehrotra updated OAK-4641:
---------------------------------
    Description: 
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 OAK-4412 we need to have a way where 
same index definition gets used in both.

As discussed on DL [1] for this to be done following changes need to be done

# Making {{async}} as a multi value property.
# Introducing a new IndexEditorProvider interface which can accept an 
IndexingContext instance (OAK-4642). This provides access to 
## indexing mode - sync or async
## index path of the index (see OAK-4152)
## CommitInfo (see OAK-4640)

[1] 
http://mail-archives.apache.org/mod_mbox/jackrabbit-oak-dev/201608.mbox/%3CCAHCW-mk1HzAxy8fk17SzYDcfLYY%3D0HUp93FCYoxpTP37cNgb%2Bg%40mail.gmail.com%3E

  was:
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 OAK-4412 we need to have a way where 
same index definition gets used in both.

As discussed on DL [1] for this to be done following changes need to be done

# Making {{async}} as a multi value property.
# Introducing a new IndexEditorProvider interface which can accept an 
IndexingContext instance. This provides access to 
## indexing mode - sync or async
## index path of the index (see OAK-4152)
## CommitInfo (see OAK-4640)

[1] 
http://mail-archives.apache.org/mod_mbox/jackrabbit-oak-dev/201608.mbox/%3CCAHCW-mk1HzAxy8fk17SzYDcfLYY%3D0HUp93FCYoxpTP37cNgb%2Bg%40mail.gmail.com%3E


> Using same index definition for both async and sync indexing
> ------------------------------------------------------------
>
>                 Key: OAK-4641
>                 URL: https://issues.apache.org/jira/browse/OAK-4641
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: query
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>             Fix For: 1.6, 1.5.8
>
>         Attachments: OAK-4641.patch
>
>
> 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 OAK-4412 we need to have a 
> way where same index definition gets used in both.
> As discussed on DL [1] for this to be done following changes need to be done
> # Making {{async}} as a multi value property.
> # Introducing a new IndexEditorProvider interface which can accept an 
> IndexingContext instance (OAK-4642). This provides access to 
> ## indexing mode - sync or async
> ## index path of the index (see OAK-4152)
> ## CommitInfo (see OAK-4640)
> [1] 
> http://mail-archives.apache.org/mod_mbox/jackrabbit-oak-dev/201608.mbox/%3CCAHCW-mk1HzAxy8fk17SzYDcfLYY%3D0HUp93FCYoxpTP37cNgb%2Bg%40mail.gmail.com%3E



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

Reply via email to