-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsearch_api_elastic.services.yml
56 lines (52 loc) · 2.55 KB
/
search_api_elastic.services.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
services:
plugin.manager.search_api_elastic.connector:
class: Drupal\search_api_elastic\Connector\ConnectorPluginManager
parent: default_plugin_manager
logger.channel.search_api_elastic:
parent: logger.channel_base
arguments: [ 'search_api_elastic' ]
search_api_elastic.index_param_builder:
class: Drupal\search_api_elastic\SearchAPI\IndexParamBuilder
arguments: [ '@search_api.fields_helper', '@event_dispatcher' ]
search_api_elastic.query_sort_builder:
class: Drupal\search_api_elastic\SearchAPI\Query\QuerySortBuilder
arguments: [ '@logger.channel.search_api_elastic' ]
search_api_elastic.query_filter_builder:
class: Drupal\search_api_elastic\SearchAPI\Query\FilterBuilder
arguments: [ '@logger.channel.search_api_elastic' ]
search_api_elastic.search_param_builder:
class: Drupal\search_api_elastic\SearchAPI\Query\SearchParamBuilder
search_api_elastic.more_like_this_param_builder:
class: Drupal\search_api_elastic\SearchAPI\MoreLikeThisParamBuilder
search_api_elastic.facet_builder:
class: Drupal\search_api_elastic\SearchAPI\Query\FacetParamBuilder
arguments: [ '@logger.channel.search_api_elastic' ]
search_api_elastic.query_param_builder:
class: Drupal\search_api_elastic\SearchAPI\Query\QueryParamBuilder
arguments:
- '@search_api.fields_helper'
- '@search_api_elastic.query_sort_builder'
- '@search_api_elastic.query_filter_builder'
- '@search_api_elastic.search_param_builder'
- '@search_api_elastic.more_like_this_param_builder'
- '@search_api_elastic.facet_builder'
- '@event_dispatcher'
- '@logger.channel.search_api_elastic'
search_api_elastic.facet_result_parser:
class: Drupal\search_api_elastic\SearchAPI\Query\FacetResultParser
arguments: [ '@logger.channel.search_api_elastic' ]
search_api_elastic.query_result_parser:
class: Drupal\search_api_elastic\SearchAPI\Query\QueryResultParser
arguments: [ '@search_api.fields_helper', '@search_api_elastic.facet_result_parser' ]
search_api_elastic.field_mapper:
class: Drupal\search_api_elastic\SearchAPI\FieldMapper
arguments: [ '@search_api.fields_helper', '@event_dispatcher' ]
search_api_elastic.backend_client_factory:
class: Drupal\search_api_elastic\SearchAPI\BackendClientFactory
arguments:
- '@search_api_elastic.query_param_builder'
- '@search_api_elastic.query_result_parser'
- '@search_api_elastic.index_param_builder'
- '@search_api.fields_helper'
- '@search_api_elastic.field_mapper'
- '@logger.channel.search_api_elastic'