[jira] [Commented] (OAK-6534) Compute indexPaths from index definitions json
[ https://issues.apache.org/jira/browse/OAK-6534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16119499#comment-16119499 ] Paul Chibulcuteanu commented on OAK-6534: - [~chetanm], yes this would be fine. This way, if one wants to reindex everything present in the _--index-definitions-file_ then _--index-paths_ should not be provided. > Compute indexPaths from index definitions json > -- > > Key: OAK-6534 > URL: https://issues.apache.org/jira/browse/OAK-6534 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: run >Reporter: Chetan Mehrotra >Assignee: Chetan Mehrotra >Priority: Minor > Fix For: 1.8 > > > Currently while adding/updating indexes via {{--index-definitions-file}} > (OAK-6471) the index paths are always determined by {{--index-paths}} option. > If there are more index definitions present in the json file then those would > be ignored. > To avoid confusion following approach should be implemented > * If {{--index-paths}} is specified then use that > * If not and {{--index-definitions-file}} is provided then compute index > paths from that > * If both are specified then {{--index-paths}} takes precendence (no merging > done) -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (OAK-6534) Compute indexPaths from index definitions json
[ https://issues.apache.org/jira/browse/OAK-6534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16119397#comment-16119397 ] Chetan Mehrotra commented on OAK-6534: -- [~chibulcu] Would this avoid potential confusion while importing indexes > Compute indexPaths from index definitions json > -- > > Key: OAK-6534 > URL: https://issues.apache.org/jira/browse/OAK-6534 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: run >Reporter: Chetan Mehrotra >Assignee: Chetan Mehrotra >Priority: Minor > Fix For: 1.8 > > > Currently while adding/updating indexes via {{--index-definitions-file}} > (OAK-6471) the index paths are always determined by {{--index-paths}} option. > If there are more index definitions present in the json file then those would > be ignored. > To avoid confusion following approach should be implemented > * If {{--index-paths}} is specified then use that > * If not and {{--index-definitions-file}} is provided then compute index > paths from that > * If both are specified then {{--index-paths}} takes precendence (no merging > done) -- This message was sent by Atlassian JIRA (v6.4.14#64029)