mirror of
https://github.com/eiblog/eiblog.git
synced 2026-03-01 00:34:58 +08:00
init
This commit is contained in:
3
conf/es/config/analysis/synonym.txt
Normal file
3
conf/es/config/analysis/synonym.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
ua,user-agent,userAgent
|
||||
js,javascript
|
||||
谷歌=>google
|
||||
17
conf/es/config/elasticsearch.yml
Normal file
17
conf/es/config/elasticsearch.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
network.host: 0.0.0.0
|
||||
|
||||
index:
|
||||
analysis:
|
||||
analyzer:
|
||||
ik_syno:
|
||||
type: custom
|
||||
tokenizer: ik_max_word
|
||||
filter: [my_synonym_filter]
|
||||
ik_syno_smart:
|
||||
type: custom
|
||||
tokenizer: ik_smart
|
||||
filter: [my_synonym_filter]
|
||||
filter:
|
||||
my_synonym_filter:
|
||||
type: synonym
|
||||
synonyms_path: analysis/synonym.txt
|
||||
15
conf/es/config/logging.yml
Normal file
15
conf/es/config/logging.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
# you can override this using by setting a system property, for example -Des.logger.level=DEBUG
|
||||
es.logger.level: INFO
|
||||
rootLogger: ${es.logger.level}, console
|
||||
logger:
|
||||
# log action execution errors for easier debugging
|
||||
action: DEBUG
|
||||
# reduce the logging for aws, too much is logged under the default INFO
|
||||
com.amazonaws: WARN
|
||||
|
||||
appender:
|
||||
console:
|
||||
type: console
|
||||
layout:
|
||||
type: consolePattern
|
||||
conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"
|
||||
Reference in New Issue
Block a user