kernel/classes/ezsearch.php
public static function updateObjectState( $objectID, $objectStateList )
    {
        $searchEngine = eZSearch::getEngine();

        if ( $searchEngine instanceof ezpSearchEngine && method_exists( $searchEngine, 'updateObjectState' ) )
        {
            return $searchEngine->updateObjectState( $objectID, $objectStateList );
        }

        return false;
    }
public static function updateObjectState( $objectID, $objectStateList )
    {
        $searchEngine = eZSearch::getEngine();

        if ( $searchEngine instanceof ezpSearchEngine && method_exists( $searchEngine, 'updateObjectState' ) )
        {
            return $searchEngine->updateObjectState( $objectID, $objectStateList );
        }

        return false;
    }
public static function updateObjectState ( $ objectID , $ objectStateList ) { $ searchEngine = eZSearch :: getEngine ( ) ; if ( $ searchEngine instanceof ezpSearchEngine && method_exists ( $ searchEngine , 'updateObjectState' ) ) { return $ searchEngine -> updateObjectState ( $ objectID , $ objectStateList ) ; } return false ; }
Notifies search engine about updates to object states

@since 4.1
@param int $objectID
@param array $objectStateList
@return false|mixed False in case method is undefined, otherwise return the result of the search engine call
Notifies search engine about updates to object states