Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-30373

Add logging for partial reindex

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.10
    • Fix Version/s: None
    • Component/s: Elasticsearch

      Description

      When using the curl command do partial re-index, there is no log entry indicating that the re-index has completed.  When doing a full re-index the following messages are shown in the logs

      2021-04-27T12:44:09,654 WARN  [Nuxeo-Work-elasticSearchIndexing-2:49709629411599.1552053538] [org.nuxeo.elasticsearch.work.ScrollingIndexingWorker] Re-indexing job: /elasticSearchIndexing:49709629411599.1552053538 has submited 484 documents in 1 bucket workers
      2021-04-27T12:44:09,655 WARN  [Nuxeo-Work-elasticSearchIndexing-4:49709633958226.2036778181] [org.nuxeo.elasticsearch.work.BucketIndexingWorker] Re-indexing job: /elasticSearchIndexing:49709629411599.1552053538 completed. 

      But when doing a partial re-index (e.g. a folder) only see the following message in the logs:

      2021-04-27T12:45:48,065 DEBUG [Nuxeo-Work-elasticSearchIndexing-4:49808044256686.1862113314] [org.nuxeo.elasticsearch.work.ScrollingIndexingWorker] Re-indexing job: /elasticSearchIndexing:49808038520962.1114833955/elasticSearchIndexing:49808044256686.1862113314 started, NXQL: SELECT ecm:uuid FROM Document WHERE ecm:ancestorId = '4cb9054d-f511-4390-8b1a-d3b50594aedc' on repository: default 

      Never see any indication in the logs that the partial reindex has completed.  It's confusing and user may think that the re-index wasn't successful.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: