Elasticsearch Chinese character completion and spelling correction
1 effect achieved using ES
Chinese character completion Spelling correction
2 product search and automatic completion
Term Advisor: term advisor. Word segmentation is performed for the input text, and word item suggestions are provided for each word segmentation Phrase suggester: phrase suggester. Based on terms, it will consider th ...
Posted by KindredHyperion on Thu, 20 Jan 2022 02:17:31 +0100
Elasticsearch introduction to mastery - Elasticsearch IK automatic hot update principle and Implementation
1, Thermal renewal principle
elasticsearch will refresh the dictionary every 60s after the function of loading external dictionary is enabled. The specific principle code is as follows:
public void loadDic(HttpServletRequest req,HttpServletResponse response){
String eTag =req.getParameter("If-None-Match");
try {
OutputStream o ...
Posted by byenary on Wed, 19 Jan 2022 07:30:00 +0100
Elastic: backup and recovery
In my previous article“ Elasticsearch: Cluster backup Snapshot and Restore API ”, I will describe in detail how to backup and restore the desired index or cluster state using the snapshot and restore API interfaces officially provided by Elastic.
In today's article, we will use another method to backup and restore an index in an el ...
Posted by Niel Roos on Wed, 19 Jan 2022 07:23:38 +0100
mac pro M1(ARM) installation: elasticsearch, kibana, logstash ELK
0. Introduction
The last issue introduced mac pro M1(ARM) installation: VMWare Fusion and linux(centos7/ubantu) In this issue, let's see how to install elasticsearch and kibana on m1
1. Install es and kibana based on centos
How to install centos virtual machine on m1 can refer to the above blog
1.1 download
This is based on the demonstrati ...
Posted by genecide on Tue, 18 Jan 2022 14:46:04 +0100
Elasticsearch cluster health
Official website documents:
https://www.elastic.co/guide/en/elasticsearch/reference/7.13/cluster-health.html#cluster-health-api-request
command
curl -XGET 'http://ip:9200/_cluster/health?pretty'
Return example:
{
"cluster_name" : "xwliu07-application",
"status" : "green",
"timed_out" : false,
"number_of_nodes" : 2,
"number_of_da ...
Posted by jnerotrix on Tue, 18 Jan 2022 01:05:34 +0100
Elastic practice: realize CRUD of index through spring data elasticsearch; Realize full / incremental synchronization of mysql to ES
0. Introduction
The official java clients of elasticsearch include tranport client and rest high level client, but the operation of index addition, deletion, modification and query is not simple enough. Therefore, we introduce spring data elasticsearch to implement CRUD of index
1. Version correspondence
Before introducing spring data, we sh ...
Posted by kiwiwilliam on Sun, 16 Jan 2022 22:46:58 +0100
kkfileview previews pdf format files to realize multi keyword highlighting and positioning
Recently, I have been working on the file search function (ElasticSearch for search). After searching the document at the front end, I need to preview the document in the browser and highlight and locate the search keywords. Kkfileview, an open source project selected for document preview, can preview documents well, but it does not have the fu ...
Posted by minc on Sun, 16 Jan 2022 16:10:03 +0100
all shards failed exception caused by ElasticSearch sorting
preface
Note: ElasticSearch version is 5.4.
Some system indexes are required in our log system. These system indexes will be added to ElasticSearch during application initialization. When there is no index data, these system indexes in ElasticSearch only have index name and some configuration information, but no mapping information. When ...
Posted by Gubbins on Sat, 15 Jan 2022 21:20:55 +0100
Elasticsearch - core - Download and install
1, Elasticsearch installation
1.1 Linux Installation
Download address
https://www.elastic.co/cn/elastic-stackhttps://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.8.0-linux-x86_64.tar.gz Other software download pages
https://www.elastic.co/cn/downloads/ Note that the java environment must be installed first (es7 requi ...
Posted by lore_lanu on Sat, 15 Jan 2022 01:24:02 +0100
Back test RSI crossover strategy in Elasticsearch
Sometimes you may have some crazy ideas and want to test your trading strategy. By using historical market data for backtesting, you can assess risk, profit and measure performance, so as to gain confidence in using this trading strategy. Of course, if you are a skilled programmer, you have no problem writing complex and heavily loaded programs ...
Posted by neoform on Fri, 14 Jan 2022 17:57:24 +0100