search/plugins/ezsolr/ezsolr.php
public function swapNode( $nodeID, $selectedNodeID, $nodeIdList = array() )
    {
        $contentObject1 = eZContentObject::fetchByNodeID( $nodeID );
        $contentObject2 = eZContentObject::fetchByNodeID( $selectedNodeID );
        $this->addObject( $contentObject1 );
        $this->addObject( $contentObject2 );
    }
public function swapNode( $nodeID, $selectedNodeID, $nodeIdList = array() )
    {
        $contentObject1 = eZContentObject::fetchByNodeID( $nodeID );
        $contentObject2 = eZContentObject::fetchByNodeID( $selectedNodeID );
        $this->addObject( $contentObject1 );
        $this->addObject( $contentObject2 );
    }
public function swapNode ( $ nodeID , $ selectedNodeID , $ nodeIdList = array ( ) ) { $ contentObject1 = eZContentObject :: fetchByNodeID ( $ nodeID ) ; $ contentObject2 = eZContentObject :: fetchByNodeID ( $ selectedNodeID ) ; $ this -> addObject ( $ contentObject1 ) ; $ this -> addObject ( $ contentObject2 ) ; }
Called when two nodes are swapped.
Simply re-index for now.

@todo when Solr supports it: update fields only

@param $nodeID
@param $selectedNodeID
@param $nodeIdList
@return void
Called when two nodes are swapped . Simply re - index for now .