forked from NLPchina/elasticsearch-analysis-ansj
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathelasticsearch.yml.example
65 lines (65 loc) · 1.58 KB
/
elasticsearch.yml.example
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
57
58
59
60
61
62
63
64
65
index:
analysis:
analyzer:
index_ansj:
alias: [ansj_index_analyzer]
type: ansj_index
is_name: false
redis:
pool:
maxactive: 20
maxidle: 10
maxwait: 100
testonborrow: true
ip: master.redis.yao.com:6379
channel: ansj_term
query_ansj:
alias: [ansj_query_analyzer]
type: ansj_query
is_name: false
redis:
pool:
maxactive: 20
maxidle: 10
maxwait: 100
testonborrow: true
ip: master.redis.yao.com:6379
channel: ansj_term
customer_ansj_index:
tokenizer: index_ansj_token
filter: [sysfilter]
customer_ansj_query:
tokenizer: query_ansj_token
filter: [sysfilter]
tokenizer:
index_ansj_token:
type: ansj_index_token
is_name: false
is_num: false
is_quantifier: false
redis:
pool:
maxactive: 20
maxidle: 10
maxwait: 100
testonborrow: true
ip: master.redis.yao.com:6379
channel: ansj_term
query_ansj_token:
type: ansj_query_token
is_name: false
is_num: false
is_quantifier: false
redis:
pool:
maxactive: 20
maxidle: 10
maxwait: 100
testonborrow: true
ip: master.redis.yao.com:6379
channel: ansj_term
filter:
sysfilter:
type: synonym
synonyms:
- 片,颗 =>粒