Uploaded image for project: 'Search and Discovery'
  1. Search and Discovery
  2. SEARCH-2460

SOLR Action Reindex doesn't work when using nodeId

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Search Services 2.0, Insight Engine 2.0
    • Fix Version/s: Search Services 2.0.1
    • Labels:
      None

      Description

      Starting with default Repository indexed, remove one node from SOLR Index.

      $ curl --location --request POST 'http://127.0.0.1:8983/solr/alfresco/update?commit=true' \
      --header 'Content-Type: application/json' \
      --data-raw '{"delete": 
        {"query": "DBID:861"}
      }'
      

      Once the node has been removed from the Index, perform a REINDEX action.

      http://127.0.0.1:8983/solr/admin/cores?action=reindex&core=alfresco&nodeid=861

      Wait some seconds to allow MetadataTracker index again this node.

      When checking the node, it can be seen that the node has been indexed with UNINDEXED_TYPE, but it should be indexed as DOC_TYPE.

      http://localhost:8983/solr/alfresco/select?fl=*,[cached]&indent=on&q=DBID:861&sort=DBID%20asc&wt=json

        "response":{"numFound":1,"start":0,"docs":[
            {
              "id":"_DEFAULT_!800000000000035d",
              "_version_":1679248998000492544,
              "DBID":861,
              "LID":"workspace://SpacesStore/918ab113-2770-4b4d-8582-af9363b5cefb",
              "INTXID":13,
              "DOC_TYPE":"UnindexedNode",
              "ACLID":13,
              "LAST_INCOMING_CONTENT_VERSION_ID":-10}]
        }
      

      This feature is working in 1.4.x

        Attachments

          Structure

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                aborroy Angel Borroy
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Structure Helper Panel