Written by The Jahia Team
 
Sysadmins
   Estimated reading time:

How can I trigger a full Augmented Search reindexation on select sites?

Answer

On Jahia version 8.x running Augmented Search 3.0 or above, Augmented Search administration UI provides option to trigger reindexation on sites which have Augmented Search enabled.

The UI option is not present on AS 1.4+, which is compatible with Jahia 7.x. To trigger a reindexation on Jahia 7.x, you can execute the following query through our GraphQL API:

mutation {
  admin {
    search {
      startIndex(siteKeys: "digitall") {
        jobs {
          id
          project {
            siteKey
          }
          status
        }
      }
    }
  }
}

GraphQL requires http authentication. As such, you'll need to be logged in on Jahia with a user with relevant permissions to start indexation.

Related links