src/snac/server/database/DBUtil.php
/**
     * Update the Name Index
     *
     * Checks to see if the ICID is in the name index.  If so, it will update the values there with the parameters.  Else,
     * it will insert the new ICID and related values into the name index.
     *
     * @param \snac\data\Constellation $constellation The Constellation to include in the name index
     *
     * @return string[]|boolean The updated name index values or false on failure
     */
Update the Name Index
Checks to see if the ICID is in the name index.  If so, it will update the values there with the parameters.  Else,
it will insert the new ICID and related values into the name index.

@param \snac\data\Constellation $constellation The Constellation to include in the name index

@return string[]|boolean The updated name index values or false on failure
Update the Name Index Checks to see if the ICID is in the name index . If so it will update the values there with the parameters . Else it will insert the new ICID and related values into the name index . @param \ snac \ data \ Constellation $constellation The Constellation to include in the name index @return string [] |boolean The updated name index values or false on failure
public function updateNameIndex(&$constellation) {
        return $this->sql->updateNameIndex($constellation->getPreferredNameEntry()->getOriginal(),
                                        $constellation->getID(),
                                        $constellation->getArk(),
                                        $constellation->getEntityType()->getTerm(),
                                        count($constellation->getRelations()),
                                        count($constellation->getResourceRelations()));
    }
public function updateNameIndex ( & $ constellation ) { return $ this -> sql -> updateNameIndex ( $ constellation -> getPreferredNameEntry ( ) -> getOriginal ( ) , $ constellation -> getID ( ) , $ constellation -> getArk ( ) , $ constellation -> getEntityType ( ) -> getTerm ( ) , count ( $ constellation -> getRelations ( ) ) , count ( $ constellation -> getResourceRelations ( ) ) ) ; }
Update the Name Index
 Checks to see if the ICID is in the name index.
Update the Name Index Checks to see if the ICID is in the name index .