Tag:elasticsearch

  • Usage details of golang elasticsearch client

    Time:2021-9-23

    The client of elasticsearch establishes a connection through newclient, sets the access address through set.url in newclient, and setsniff sets the cluster After obtaining the connection, insert the data through the index method, and obtain the data through the get method (the get method of elasticsearch client will be used in the final test case) […]

  • Method of Chinese search with laravel + elasticsearch

    Time:2021-8-7

    Elasticsearch Elasticsearch is an open source search engine based on Apache Lucene (TM). Lucene can be considered as the most advanced, best performing and most powerful search engine library in the open source or proprietary domain. However, Lucene is just a library. To play its powerful role, you need to use Java and integrate it […]

  • PHP elasticsearch to explain search examples

    Time:2021-7-30

    Elasticsearch is a Lucene based search server. It provides a distributed multi-user full-text search engine based on restful web interface. Elasticsearch is developed in Java and released as an open source under the Apache license terms. It is a popular enterprise search engine. Designed for cloud computing, it can achieve real-time search, stable, reliable, fast, […]

  • Implementation of golang operation elasticsearch

    Time:2020-8-4

    1. Premise 1.1 docker installation elasticsearch Query elasticsearch version docker search elasticsearch Pull the corresponding version to local docker.elastic.co/elasticsearch/elasticsearch:7.3.0 Create a network docker network create esnet Start container docker run –name es -p 9200:9200 -p 9300:9300 –network esnet -e “discovery.type=single-node” bdaab402b220 1.2 after that, you can write go code. For intuitive visualization, elistichd is deployed […]

  • Analysis of Python insert elasticsearch operation method

    Time:2020-6-14

    This article mainly introduces the python insert elasticsearch operation method analysis. The example code is introduced in detail in this article, which has a certain reference learning value for your study or work. You can refer to the following for your friends When doing crawler with scratch, we need to store the data in ES. […]

  • How to solve the problem of root running elasticsearch under CentOS

    Time:2020-5-26

    Run elasticsearch 2.3 on CentOS 6.5 with the following exceptions: Exception in thread “main” java.lang.RuntimeException: don’t run elasticsearch as root. at org.elasticsearch.bootstrap.Bootstrap.initializeNatives(Bootstrap.java:93) at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:144) at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:270) at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:35) Refer to the log for complete error details. The exception description is that elasticsearch cannot be run with root permission. The solution is to add parameters at […]

  • Elastic search quick start (4): details supplement

    Time:2020-3-8

    Fuzzy search Fuzzy search is available: GET job/type1/_search { “query”:{ “fuzzy”:{ “title”:{ “value”:”linx”, “fuzziness”: 2, “prefix_length”: 1 } } } } In the example above, you can fuzzy query words similar to Linx.Fuzziness refers to the “edit distance”, that is, the minimum number of operations required to change from one string to another through addition […]

  • Installation and simple configuration of elasticsearch 7. X (Alibaba cloud Ubuntu)

    Time:2020-1-24

    System environment Operating system: Ubuntu 18.04 lts (Alibaba cloud) System IP #Intranet, private address 172. Inside. Inside. Inside #Public address 112. Outer. Outer. Outer Elasticsearch version: 7.2 Elasticsearch has built in Java environment since 7.0, so there is no need to install JDK separately Installation and configuration Official document: https://www.elastic.co/guide/ download curl -L -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.2.0-linux-x86_64.tar.gz […]

  • Installation and interface preview of kibana 7. X (Alibaba cloud Ubuntu)

    Time:2020-1-23

    Continued from the previous section: installation and simple configuration of elasticsearch 7. X (Alibaba cloud Ubuntu) System environment Operating system: Ubuntu 18.04 lts (Alibaba cloud) System IP #Intranet, private address 172. Inside. Inside. Inside #Public address 112. Outer. Outer. Outer Elasticsearch version: 7.2 Kibana version: 7.2 Installation and configuration Official document: https://www.elastic.co/guide/ download wget https://artifacts.elastic.co/downloads/kibana/kibana-7.2.0-linux-x86_64.tar.gz […]

  • Logstash 7. X installation and data import (Alibaba cloud Ubuntu)

    Time:2020-1-22

    Continued: installation and interface preview of kibana 7. X (Alibaba cloud Ubuntu) System environment Operating system: Ubuntu 18.04 lts (Alibaba cloud) System IP #Intranet, private address 172. Inside. Inside. Inside #Public address 112. Outer. Outer. Outer Elasticsearch version: 7.2 Kibana version: 7.2 Logstash version: 7.2 Installation and configuration Official document: https://www.elastic.co/guide/ Logstash is different from […]

  • Elk Development Journal (1) – elastic 7.2.0 auto start, MySQL batch import, user authentication, SSL communication, Chinese Pinyin segmentation

    Time:2020-1-21

    Recently, I did search system service for my platform and found elk, a treasure. I took a hole first and wrote some experience while learning 1、 Development path 1. Deploy elasticsearch to serve the system Download the v7.2.0 Debian installation package, which can’t be used for free in the version less than 7.2.0 Download address: […]

  • Elastic search cluster operation and maintenance of 400 + nodes

    Time:2020-1-18

    This article was first published in InfoQ https://www.infoq.cn/article/By Anton h ä gerstrandTranslator: Yang Zhentao Catalog: Data volume Edition Node configuration index structure performance Meltwater processes millions of Posts every day, so it needs a kind of storage and retrieval technology that can deal with this level of data. We have been a loyal user of […]