original_string: protected function indexProduct(array $product)
      {
          $snippet = $this->search->getSnippet($product, 'und');
          return $this->search->setIndex($snippet, 'product', $product['product_id'], 'und');
      }
code: protected function indexProduct(array $product)
      {
          $snippet = $this->search->getSnippet($product, 'und');
          return $this->search->setIndex($snippet, 'product', $product['product_id'], 'und');
      }
code_tokens: protected function indexProduct ( array $ product ) { $ snippet = $ this -> search -> getSnippet ( $ product , 'und' ) ; return $ this -> search -> setIndex ( $ snippet , 'product' , $ product [ 'product_id' ] , 'und' ) ; }
docstring: Adds the main product data to the search index
  @param array $product
  @return boolean
docstring_tokens: Adds the main product data to the search index