kernel/classes/ezsearch.php
public static function addNodeAssignment( $mainNodeID, $objectID, $nodeAssignmentIDList, $isMoved = false )
    {
        $searchEngine = eZSearch::getEngine();

        if ( $searchEngine instanceof ezpSearchEngine && method_exists( $searchEngine, 'addNodeAssignment' ) )
        {
            return $searchEngine->addNodeAssignment( $mainNodeID, $objectID, $nodeAssignmentIDList, $isMoved );
        }

        return false;
    }
public static function addNodeAssignment( $mainNodeID, $objectID, $nodeAssignmentIDList, $isMoved = false )
    {
        $searchEngine = eZSearch::getEngine();

        if ( $searchEngine instanceof ezpSearchEngine && method_exists( $searchEngine, 'addNodeAssignment' ) )
        {
            return $searchEngine->addNodeAssignment( $mainNodeID, $objectID, $nodeAssignmentIDList, $isMoved );
        }

        return false;
    }
public static function addNodeAssignment ( $ mainNodeID , $ objectID , $ nodeAssignmentIDList , $ isMoved = false ) { $ searchEngine = eZSearch :: getEngine ( ) ; if ( $ searchEngine instanceof ezpSearchEngine && method_exists ( $ searchEngine , 'addNodeAssignment' ) ) { return $ searchEngine -> addNodeAssignment ( $ mainNodeID , $ objectID , $ nodeAssignmentIDList , $ isMoved ) ; } return false ; }
Notifies search engine about new node assignments added

@since 4.1
@param int $mainNodeID
@param int $objectID
@param array $nodeAssignmentIDList
@param bool $isMoved true if node is being moved
@return false|mixed False in case method is undefined, otherwise return the result of the search engine call
Notifies search engine about new node assignments added