jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nitin Gupta (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-8114) IndexDefinitionBuilder should be smarter when to reindex while updating a definition
Date Tue, 12 Mar 2019 03:01:00 GMT

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

Nitin Gupta commented on OAK-8114:
----------------------------------

Need to handle for these scenarios as well (These shouldn't req reindexing)

 
 # Addition of facets node
 # Addition/update of following properties on facets node- topChildren , sampleSize , secure
 # additon/update of property blobSize on indexnode - cross check once (but most probably
shouldn't req reindexing)

> 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
>            Priority: Major
>         Attachments: OAK-8114_1.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.3#76005)

Mime
View raw message