src/snac/server/ServerExecutor.php
/**
     * Update Indexes after a publish
     *
     * Updates the extra indexes.  After a constellation has been published, this should be called
     * to update the status of the constellation in the various indices (Elastic Search, Neo4J).
     *
     * @param  integer $icid Identity Constellation id to index
     */
Update Indexes after a publish
Updates the extra indexes.  After a constellation has been published, this should be called
to update the status of the constellation in the various indices (Elastic Search, Neo4J).

@param  integer $icid Identity Constellation id to index
Update Indexes after a publish Updates the extra indexes . After a constellation has been published this should be called to update the status of the constellation in the various indices ( Elastic Search Neo4J ) . @param integer $icid Identity Constellation id to index
protected function updateIndexesAfterPublish($icid) {
        $this->logger->addDebug("Updating indexes after publish");
        $published = $this->cStore->readPublishedConstellationByID($icid); 
        $this->elasticSearch->writeToNameIndices($published);
        $this->cStore->updateNameIndex($published);
        $this->neo4J->updateIdentityIndex($published);
    }
protected function updateIndexesAfterPublish ( $ icid ) { $ this -> logger -> addDebug ( " Updating indexes after publish " ) ; $ published = $ this -> cStore -> readPublishedConstellationByID ( $ icid ) ; $ this -> elasticSearch -> writeToNameIndices ( $ published ) ; $ this -> cStore -> updateNameIndex ( $ published ) ; $ this -> neo4J -> updateIdentityIndex ( $ published ) ; }
Update Indexes after a publish
 Updates the extra indexes.
Update Indexes after a publish Updates the extra indexes .
// Read in the constellation from the database to update elastic search //      currently, we need NRD, names, relations and resource relations (for counts) /*$published = $this->cStore->readPublishedConstellationByID($icid,
            DBUtil::$READ_NRD |
            DBUtil::$READ_ALL_NAMES |
            DBUtil::$READ_RELATIONS |
            DBUtil::$READ_RESOURCE_RELATIONS);*/ // reading the entire constellation now // Update the Elastic Search Indices // Update the Postgres Indices // Update the Neo4J Indices