My Windows 10 has a WNMP environment and now installs Elasticsearch 2.3. Try it (do station search), the following is a reference to some Baidu to the information, the installation of Elasticsearch 2.3.3 Process records:
Install Elasticsearch procedure on Windows 10 record one, install and configure Java JDK1, download: http://download.oracle.com/otn-pub/java/jdk/8u92-b14/ JDK-8U92-WINDOWS-X64.EXE2, setting Environment variables: (1) Click the "New" button under "System variables" variable name: Java_home variable Value: C:\Program files\java\jdk1.8.0_92 (2) Create system variables in the same way classpath variable name: Classpath variable value:.; %java_home%\lib;%java_home%\lib\tools.jar (3) adds the following variable values at the end of the variable value of the existing system variable path;%java_home%\bin;%java_home%\jre\bin3, To see if the installation was successful Java-verison or Javac-version II, install and configure Elasticsearch1, download: Https://www.elastic.co/downloads/elasticsearch// I downloaded 2.3.3 version 2, extracted to d:\elasticsearch-2.3.3 directory 3, configuration Elasticsearch (1) configuration config\elasticsearch.yml file Cluster.name: LGS-ESNODE.NAME:NODE-1 (2) Configure Bin\elasticsearch.in.bat file set Es_min_mem=4gset es_max_mem=4g4, run service double-click bin\ Elasticsearch.bat run three, install the Elasticsearch plug-in 1, install the head plugin (head is the Web console of ES. ) bin/plugin.bat install Mobz/elasticsearch-head after installation in browser input http://localhost:9200/_plugin/head/run 2, install Kibana plugin (1) Download Address: Https://www.elastic.co/downloads/kibana (2) Extract to D:\kibana-4.5.1-windows directory (3) configuration config\ KIBANA.YML file Elasticsearch.url: "http://localhost:9200 "(4) Bin\kibana.bat//Start Kibana (5) browser input http://localhost:56013, install sense plugin (sense is ES debugging tool, you can easily through the browser to the ES cluster to send various requests.) ) Bin/kibana plugin--install elastic/sense4, installing Marvel Plug-in (1) installing Marvel to Elasticsearchbin/plugin Install license//install first Licen SE plug-in bin/plugin install Marvel-agent (2) installation Marvel to Kibanabin/kibana plugin--install elasticsearch/marvel/latest (3) Launch Elasticsearch and Kibanabin/elasticsearchbin/kibana (4) Browser input: Http://localhost:5601/app/marvel5, Install the Elasticsearch-analysis-ik plug-in (IK is a Chinese word breaker.) A, install Elasticsearch-analysis-ik before installing maven (1) Download maven:https://maven.apache.org/download.cgi (2) Extract to C:\Program Files ( x86) \apache-maven-3.3.9 (3) New environment variable: variable name: Maven_home variable Value: C:\Program Files (x86) \apache-maven-3.3.9 (4) Add the path to MAVEN's bin in Path;%maven_home%\bin (5) at the command prompt, enter mvn-v, and the information will be displayed successfully. b, install the Elasticsearch-analysis-ik plug-in (1) Download the compressed package Https://github.com/medcl/elasticsearch-analysis-ik (2) Extract to D:\ Elasticsearch-analysis-ik-master (3) CD D:\elasticsearch-analysis-ik-master (4) MVN Package//Maven Pack (5) In Elasticsearch-2.3.3\config and ELASTICSEARCH-2.3.3\PLCreate a new IK folder under the Ugins directory (6) The zip file generated by the package D:\elasticsearch-analysis-ik-master\target\releases\ Elasticsearch-analysis-ik-1.9.3.zip Copy to Plugins/ik, and unzip. (7) Word breaker (contents in D:\elasticsearch-analysis-ik-master\config) put into Config/ik directory (8) Restart ES, test http://localhost:9200/_analyze? analyzer=ik&pretty=true&text=java%e9%ab%98%e7%ba%a7%e5%b7%a5%e7%a8%8b%e5%b8%88
Problem:
1, in addition to the above installed plug-ins, there are commonly used plug-ins need to install?
2. Now I go to the last step of the above installation record, what should I do next and how to do it?
Reply content:
My Windows 10 has a WNMP environment and now installs Elasticsearch 2.3. Try it (do station search), the following is a reference to some Baidu to the information, the installation of Elasticsearch 2.3.3 Process records:
Install Elasticsearch procedure on Windows 10 record one, install and configure Java JDK1, download: http://download.oracle.com/otn-pub/java/jdk/8u92-b14/ JDK-8U92-WINDOWS-X64.EXE2, setting Environment variables: (1) Click the "New" button under "System variables" variable name: Java_home variable Value: C:\Program files\java\jdk1.8.0_92 (2) Create system variables in the same way classpath variable name: Classpath variable value:.; %java_home%\lib;%java_home%\lib\tools.jar (3) adds the following variable values at the end of the variable value of the existing system variable path;%java_home%\bin;%java_home%\jre\bin3, To see if the installation was successful Java-verison or Javac-version II, install and configure Elasticsearch1, download: Https://www.elastic.co/downloads/elasticsearch// I downloaded 2.3.3 version 2, extracted to d:\elasticsearch-2.3.3 directory 3, configuration Elasticsearch (1) configuration config\elasticsearch.yml file Cluster.name: LGS-ESNODE.NAME:NODE-1 (2) Configure Bin\elasticsearch.in.bat file set Es_min_mem=4gset es_max_mem=4g4, run service double-click bin\ Elasticsearch.bat run three, install the Elasticsearch plug-in 1, install the head plugin (head is the Web console of ES. ) bin/plugin.bat install Mobz/elasticsearch-head after installation in browser input http://localhost:9200/_plugin/head/run 2, install Kibana plugin (1) Download Address: Https://www.elastic.co/downloads/kibana (2) Extract to D:\kibana-4.5.1-windows directory (3) configuration config\ KIBANA.YML file Elasticsearch.url: "http://localhost:9200 "(4) Bin\kibana.bat//Start Kibana (5) browser input http://localhost:56013, install sense plugin (sense is ES debugging tool, you can easily through the browser to the ES cluster to send various requests.) ) Bin/kibana plugin--install elastic/sense4, installing Marvel Plug-in (1) installing Marvel to Elasticsearchbin/plugin Install license//install first Licen SE plug-in bin/plugin install Marvel-agent (2) installation Marvel to Kibanabin/kibana plugin--install elasticsearch/marvel/latest (3) Launch Elasticsearch and Kibanabin/elasticsearchbin/kibana (4) Browser input: Http://localhost:5601/app/marvel5, Install the Elasticsearch-analysis-ik plug-in (IK is a Chinese word breaker.) A, install Elasticsearch-analysis-ik before installing maven (1) Download maven:https://maven.apache.org/download.cgi (2) Extract to C:\Program Files ( x86) \apache-maven-3.3.9 (3) New environment variable: variable name: Maven_home variable Value: C:\Program Files (x86) \apache-maven-3.3.9 (4) Add the path to MAVEN's bin in Path;%maven_home%\bin (5) at the command prompt, enter mvn-v, and the information will be displayed successfully. b, install the Elasticsearch-analysis-ik plug-in (1) Download the compressed package Https://github.com/medcl/elasticsearch-analysis-ik (2) Extract to D:\ Elasticsearch-analysis-ik-master (3) CD D:\elasticsearch-analysis-ik-master (4) MVN Package//Maven Pack (5) In Elasticsearch-2.3.3\config and ELASTICSEARCH-2.3.3\PLCreate a new IK folder under the Ugins directory (6) The zip file generated by the package D:\elasticsearch-analysis-ik-master\target\releases\ Elasticsearch-analysis-ik-1.9.3.zip Copy to Plugins/ik, and unzip. (7) Word breaker (contents in D:\elasticsearch-analysis-ik-master\config) put into Config/ik directory (8) Restart ES, test http://localhost:9200/_analyze? analyzer=ik&pretty=true&text=java%e9%ab%98%e7%ba%a7%e5%b7%a5%e7%a8%8b%e5%b8%88
Problem:
1, in addition to the above installed plug-ins, there are commonly used plug-ins need to install?
2. Now I go to the last step of the above installation record, what should I do next and how to do it?
1, ES plug-ins are much more deadly, because it is Java, so many great God wrote a lot of things, estimated you also need pinyin plug-in, for fuzzy search and pinyin search.
2, you tag hit is larvae, then you also need to install larvae ES plug-in, you can use native https://github.com/elastic/elasticsearch-php or other developers packaged. Then go to write the data into ES, and then build a variety of search statements. Implement search:
Kibana do not need to be installed. This is used in conjunction with Logstash to do the log system. sense, if not a cluster, no, a head or HD is enough.
The first is the data index, which involves the database and ES synchronization problem, if using MySQL, can use logstash
the jdbc
plug-in, if used mongodb
, can be used mongo-connector
. Of course, if you have a small amount of data, consider saving the data directly into ES without needing MySQL or MONGO.
ES has Php/python and other clients, you can then develop a set of APIs, the front-end submission search query to the API to query, the data back to the front.
Related to Chinese search there will be some small pits, you can go to GitHub search medcl
, he is the official es of the Chinese staff, should be mainly responsible for the Chinese this piece, for Es added a lot of useful Chinese plug-ins