Elasticsearch Java????????????
???????????? ???????[ 2014/2/13 9:29:09 ] ???????????????? Java ?????
????river
????????es????????????????????洢??????磺?????????????es??????????????????????????????es?? ????????river?е????????????????es?У??????river??couchDB???RabbitMQ???Twitter???Wikipedia ???
????gateway
????????es??????????洢?????es????????????????????У???????????????????????????es???????? ???????????gateway?ж???????????es???????????gateway???б???????????????????????????Hadoop??HDFS?? amazon??s3??洢????
????discovery.zen
????????es???????????????es?????????p2p???????????????????????????????Э???????н?????????????????????????
????Transport
????????es??????????????????????????????????tcpЭ????н????????????httpЭ?饗json???????thrift??servlet??memcached??zeroMQ??????Э?饗????????????????
????????????elasticsearch?????????
????elasticsearch??????smartcn?????????????Ч??????????????????medcl???????????о?es????????д?????????????????????ik????????mmseg????????????????????÷????????????????????????????У?
???????ik?????
????plugin -install medcl/elasticsearch-analysis-ik/1.1.0
????????ik??????????????config??
????cd config
????wget http://github.com/downloads/medcl/elasticsearch-analysis-ik/ik.zip --no-check-certificate
????unzip ik.zip
????rm ik.zip
???????mmseg?????
????bin/plugin -install medcl/elasticsearch-analysis-mmseg/1.1.0
??????????????????????config??
????cd config
????wget http://github.com/downloads/medcl/elasticsearch-analysis-mmseg/mmseg.zip --no-check-certificate
????unzip mmseg.zip
????rm mmseg.zip
???????????
????ik??????????elasticsearch.yml????м???
????index:
????analysis:
????analyzer:
????ik:
????alias: [ik_analyzer]
????type: org.elasticsearch.index.analysis.IkAnalyzerProvider
??????
????index.analysis.analyzer.ik.type : “ik”
??????????????????
????mmseg???????????????elasticsearch.yml?????
????index:
????analysis:
????analyzer:
????mmseg:
????alias: [news_analyzer?? mmseg_analyzer]
????type: org.elasticsearch.index.analysis.MMsegAnalyzerProvider
??????
????index.analysis.analyzer.default.type : "mmseg"
????mmseg??????Щ?????????????????????
index:
analysis:
tokenizer:
mmseg_maxword:
type: mmseg
seg_type: "max_word"
mmseg_complex:
type: mmseg
seg_type: "complex"
mmseg_simple:
type: mmseg
seg_type: "simple"
???????????????????????????es?????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11