protected function index()
    {
        $index = [];
        $scanCount = $this->fillIndex($index, $this->getSourceFp());
        $this->setIndex($index);
        
        return new Report(
            Report::TYPE_INFO,
            $scanCount . " rows scanned for indexing. " . count($index) . " unique values indexed."
        );
    }
protected function index()
    {
        $index = [];
        $scanCount = $this->fillIndex($index, $this->getSourceFp());
        $this->setIndex($index);
        
        return new Report(
            Report::TYPE_INFO,
            $scanCount . " rows scanned for indexing. " . count($index) . " unique values indexed."
        );
    }
protected function index ( ) { $ index = [ ] ; $ scanCount = $ this -> fillIndex ( $ index , $ this -> getSourceFp ( ) ) ; $ this -> setIndex ( $ index ) ; return new Report ( Report :: TYPE_INFO , $ scanCount . " rows scanned for indexing. " . count ( $ index ) . " unique values indexed." ) ; }
Indexing method.

This method contains the logic to index the source file.

@return \common_report_Report
Indexing method .