Why do I need a search engineThe purpose of the search is to quickly look for what is needed without browsing the entire site. The results should be sequential, the higher the correlation, the better the result should be. Filter to optimize the overall relevance of the search results
The search cannot be too slow
Because the traditional relational database can't solve this kind of problem well, it needs to introduce a special search engine. The use of Elasti
, you can change the 6.1.1 to its own Elasticsearch version can be directly downloaded.
Installing an IK word breaker
Directly decompression elasticsearch-analysis-ik-6.1.1.zip, and the extracted file directory Elasticsearch placed under the Elasticsearch installation directory under the plugins, and then
, it is only free of charge for the development environment. If this tool is free of charge, it will be invincible. The installation is simple. After the tool is complete, restart the service to access http: // 192.168.2.172: 9200/_ plugin/marvel/you can see the interface:
$ sudo /usr/share/elasticsearch/bin/plugin -i elasticsearch/marvel/latest $ sudo /etc/init
Abstract: intends to write several elasticsearch use experience. First, start with the horizontal comparison of Elasticsearch and Sphinx. Cross-correlation is a good way to react to the pros and exposures of the problem. I am the Sphinx camp to the Elasticsearch camp, both are mature open source search engine, each has the pros and cons, this article can also be
simple. After the tool is complete, restart the service to access http: // 192.168.2.172: 9200/_ plugin/marvel/you can see the interface:
$ sudo /usr/share/elasticsearch/bin/plugin -i elasticsearch/marvel/latest $ sudo /etc/init.d/elasticsearch restart * Stopping
the network.host:192.168.0.1 comment and change it to network.host:0.0.0.0, and remove the Cluster.name;node.name;http.port comment (i.e. remove #)Double-click Elasticsearch.bat to restart ES4. Download the Elasticsearch-head PackageDownload the head plugin in https://github.com/mobz/elasticsearch-head, select Download zip5. Unzip to the specified folder, G:\
Tags: Front remove network general multi-tenant node work HTTPS problemOriginal address: http://blog.csdn.net/w12345_ww/article/details/52182264. Copyright belongs to the original authorThese two days in the project to involve the use of elasticsearch, on the internet to search for some of this information, found that Elasticsearch installation is divided into single-machine and cluster two ways. In this ex
Tutorial on using Python to operate Elasticsearch data indexes, elasticsearch tutorial
Elasticsearch is a distributed and Restful search and analysis server. Like Apache Solr, it is also an Indexing Server Based on ce. However, I think Elasticsearch has the following advantages over Solr:
Lightweight: easy to instal
Elasticsearch-cluster principle, elasticsearch-Cluster
Elasticsearch version: 6.0
I. ES Clusters
It is composed of one or more nodes with the same cluster. name to jointly bear the pressure on data and load.
The elected master node will be responsible for management.Cluster rangeAll changes, such as adding/deleting indexes and adding/deleting nodes, are not in
Introduction
Elasticsearch is quite a cool project. This post introduces you to the setup Elasticsearch in IntelliJ idea locally. After this, we are able to:read elasticsearch source code within an IDE debug Elasticsearch Modify Develop new FEA Tures of Elasticsearch
for the development environment free, if this tool is also free of invincible, installation is very simple, complete restart service access http://192.168.2.172:9200/_plugin/ Marvel/can see the interface: $ sudo/usr/share/elasticsearch/bin/plugin-i Elasticsearch/marvel/latest $ sudo/etc/init.d/elasticsearch
node, then go to the corresponding folder (plugins), and then download and extract the corresponding version of the IK plugin.
$ sudo docker exec-it container ID (or container name) /bin/bash
$ cd plugins
$ wget https://github.com/medcl/ Elasticsearch-analysis-ik/releases/download/v5.6.4/elasticsearch-analysis-ik-5.6.4.zip
$ unzip Elasticsearch-analysis-i
directory name
Switch to Elsearch user restart
Su elsearch #切换账户
cd elasticsearch/bin #进入你的elasticsearch目录下的bin目录
./elasticsearch
After startup, the normal boot log information is printed as follows
[Elsearch@localhost elasticsearch-2.4.0]$./bin/
IntroducedElasticsearch is an open-source, distributed search engine with high reliability and support for a very wide number of enterprise search use cases. Like SOLR4, it's built on Lucene. Supports time-time indexing and full-text retrieval. Official website: http://www.elasticsearch.orgIt provides a range of Java and HTTP-based APIs for indexing, retrieving, and modifying most configurations.Installation:1. First install the Java environment and configure the environment variables.2. Downloa
Elasticsearch is an open source, distributed, restful search engine built on Lucene. Designed for cloud computing, to achieve real-time search, stable, reliable, fast, easy to install and use. Supports the use of JSON for data indexing over HTTP.
stand-alone Environment
Stand-alone version of the Elasticsearch operation is very simple, Linux directly under the Bin/elas
and locate the network section:
#----------------------------------Network-----------------------------------
#
# Set The bind address to a Specific IP (IPV4 or IPV6):
# #
network.host:192.168.0.1
#
# Set a custom port for http:
# #
http . port:9200
#
# For more information, see the documentation at:
#
Remove the annotations before network.host:192.168.0.1 and modify them to network.host:0.0.0.0Restarting ES the HTTP portion of the information returned above will also become the real native
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.