Skip to content

Commit 3c54b37

Browse files
author
Simonas Šerlinskas
committed
introduce promise version of the configuration
1 parent d30af19 commit 3c54b37

File tree

1 file changed

+11
-22
lines changed

1 file changed

+11
-22
lines changed

Tests/app/config/config_test.yml

Lines changed: 11 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,34 +6,23 @@ framework:
66
ongr_elasticsearch:
77
analysis:
88
filter:
9-
incremental_filter:
9+
incremental_filter: #-> analyzer name
1010
type: edge_ngram
1111
min_gram: 1
1212
max_gram: 20
1313
analyzer:
14-
incrementalAnalyzer: #-> analyzer name
14+
incrementalAnalyzer: #-> analyzer name
1515
type: custom
1616
tokenizer: standard
1717
filter:
1818
- lowercase
1919
- incremental_filter
20-
managers:
21-
custom_dir:
22-
index:
23-
hosts:
24-
- 127.0.0.1:9200
25-
index_name: ongr-custom-document-dir-test
26-
mappings:
27-
TestBundle:
28-
document_dir: Entity
29-
default:
30-
index:
31-
hosts:
32-
- 127.0.0.1:9200
33-
index_name: ongr-esb-test
34-
settings:
35-
refresh_interval: -1
36-
number_of_replicas: 0
37-
number_of_shards: 5
38-
mappings:
39-
- TestBundle
20+
indexes:
21+
ongr-product-test:
22+
hosts:
23+
- 127.0.0.1:9200
24+
settings:
25+
refresh_interval: -1
26+
number_of_replicas: 0
27+
number_of_shards: 2
28+
mapping: ONGR\ElasticsearchBundle\Tests\app\fixture\TestBundle\Document\Product

0 commit comments

Comments
 (0)