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

Record suggestor status in suggest-data node

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.5.7, 1.6.0
    • lucene
    • None

    Description

      Currently the suggestor storage logic maintains a timestamp of when suggestor data was last updated in property lastUpdated in :suggesterStatus node. Actual suggest data is stored in a separate node :suggest-data.

      /oak:index/lucene-suggest: { reindexCount = 1, name = lucene-suggest, compatVersion = 2, reindex = false, type = lucene, jcr:primaryType = oak:QueryIndexDefinition, :facet-config = { ... }, indexRules = { ... }, :data = { ... }, :status = { ... }, :suggest-data = { ... }, :suggesterStatus = { ... }}
      

      It would be better if this property is stored in :suggest-data. This would simplify adding support for multiplexing as each dir node would be having complete info

      + :oak:mount-foo-suggest-data
         - lastUpdated
      + :suggest-data
         - lastUpdated
      

      Attachments

        1. OAK-4616-v1.patch
          2 kB
          Chetan Mehrotra

        Issue Links

          Activity

            People

              chetanm Chetan Mehrotra
              chetanm Chetan Mehrotra
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: