Remove useless method in SearchEngineInterface

This commit is contained in:
Benoît Burnichon
2016-03-29 19:08:09 +02:00
parent 973826eeb3
commit 37883ed1ae
5 changed files with 0 additions and 89 deletions

View File

@@ -369,16 +369,6 @@ class ElasticSearchEngine implements SearchEngineInterface
throw new RuntimeException('Elasticsearch engine currently does not support auto-complete.');
}
/**
* {@inheritdoc}
*/
public function excerpt($query, $fields, \record_adapter $record, SearchEngineOptions $options = null)
{
//@todo implements
return array();
}
/**
* {@inheritdoc}
*/

View File

@@ -182,17 +182,6 @@ interface SearchEngineInterface
*/
public function autocomplete($query, SearchEngineOptions $options);
/**
* Highlight the fields of a record
*
* @param type $query
* @param type $fields
* @param \record_adapter $record
*
* @return array The array of highlighted fields
*/
public function excerpt($query, $fields, \record_adapter $record, SearchEngineOptions $options = null);
/**
* Reset the cache of the SE (if applicable)
*