Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-8114

IndexDefinitionBuilder should be smarter when to reindex while updating a definition

    XMLWordPrintableJSON

    Details

      Description

      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.

        Attachments

        1. OAK-8114_1.patch
          4 kB
          Nitin Gupta
        2. OAK-8114_2.patch
          11 kB
          Nitin Gupta

          Issue Links

            Activity

              People

              • Assignee:
                catholicon Vikas Saurabh
                Reporter:
                catholicon Vikas Saurabh
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: