mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 15:33:15 +00:00
Clean ElasticSearchEngine
This commit is contained in:
@@ -343,20 +343,6 @@ class ElasticSearchEngine implements SearchEngineInterface
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
private function createTermQueryParams($query, SearchEngineOptions $options)
|
|
||||||
{
|
|
||||||
$params = [
|
|
||||||
'index' => $this->indexName,
|
|
||||||
'type' => TermIndexer::TYPE_NAME,
|
|
||||||
'body' => [],
|
|
||||||
'size' => 20,
|
|
||||||
];
|
|
||||||
|
|
||||||
$params['body']['query'] = $query;
|
|
||||||
|
|
||||||
return $params;
|
|
||||||
}
|
|
||||||
|
|
||||||
private function createRecordQueryParams($ESQuery, SearchEngineOptions $options, \record_adapter $record = null)
|
private function createRecordQueryParams($ESQuery, SearchEngineOptions $options, \record_adapter $record = null)
|
||||||
{
|
{
|
||||||
$params = [
|
$params = [
|
||||||
|
Reference in New Issue
Block a user