私のelasticsearch構成書


1:      :
     # bin/plugin -install polyfractal/elasticsearch-inquisitor
      bin/plugin -install lmenezes/elasticsearch-kopf
      bin/plugin --install mobz/elasticsearch-head
      bin/plugin --install lukas-vlcek/bigdesk
      #bin/plugin --install royrusso/elasticsearch-HQ
     bin/plugin -u http://maven.ansj.org/org/ansj/elasticsearch-analysis-ansj/1.x.1/elasticsearch-analysis-ansj-1.x.1-release.zip -i ansj

2:    ,
     cluster.name: xxx
     node.name: xxx
     path.data: /apps/product/search_service/es-data/es-1.4.1  #          
     bootstrap.mlockall: true    #  swap
     discovery.zen.ping.multicast.enabled: false #    
     transport.tcp.port: 9302  #       
     http.port: 9202     #http    
     index.search.slowlog.threshold.query.info: 1s  #     
     index.search.slowlog.threshold.fetch.info: 800ms   #     

     #       https://github.com/4onni/elasticsearch-analysis-ansj

################################## ANSJ PLUG CONFIG ################################
index:
   analysis:
     analyzer:
        index_ansj:
            type: ansj_index
        query_ansj:
            type: ansj_query
index.analysis.analyzer.default.type: ansj_index