jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vikas Saurabh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-8114) IndexDefinitionBuilder should be smarter when to reindex while updating a definition
Date Sun, 04 Aug 2019 04:37:00 GMT

    [ https://issues.apache.org/jira/browse/OAK-8114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16899555#comment-16899555
] 

Vikas Saurabh commented on OAK-8114:
------------------------------------

Backported to 1.10 branch at [r1864351|https://svn.apache.org/r1864351].

> IndexDefinitionBuilder should be smarter when to reindex while updating a definition
> ------------------------------------------------------------------------------------
>
>                 Key: OAK-8114
>                 URL: https://issues.apache.org/jira/browse/OAK-8114
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: lucene, search
>            Reporter: Vikas Saurabh
>            Assignee: Vikas Saurabh
>            Priority: Major
>              Labels: candidate_oak_1_10, candidate_oak_1_6, candidate_oak_1_8, indexingPatch,
nitin
>             Fix For: 1.12.0
>
>         Attachments: OAK-8114_1.patch, OAK-8114_2.patch
>
>
> {{IndexDefinitionBuilder}} currently sets reindex flag while building an index definition
if there is a difference in existing def v/s what it builds.
> The only place it acts smarter is while setting up nrt or sync flag. There are quite
a few properties which only affect querying or cost-estimation and don't imply a change in
indexed data. For such cases, simply setting {{refresh=true}} should suffice.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Mime
View raw message