Elasticsearch with Programming PHP - Zimuel
Programming Elasticsearch with PHP
Enrico Zimuel Principal Software Engineer Jun 9, 2021, phpday conference
1
Summary
? Introduction to Elasticsearch ? Elasticsearch and PHP ? Connect to Elasticsearch ? Index, Bulk, Search ? Fuzzy search, Aggregation ? Schema on read (from 7.12) ? Async communication ? Future work
2
? Elasticsearch is a distributed, free and open search and analytics engine for all types of data
? Elasticsearch scale by design and manage any size of data ? Very fast: near real-time search ? Wide range of search features: filter, aggregate, analyze,
order any type of information ? Elasticsearch is document oriented (JSON), that means it
stores entire objects or documents ? A collection of documents is called an index, the equivalent
of a table in SQL
3
? You can interact with Elasticsearch using REST APIs, there is no client or shell tool
$ curl -X GET
{ "name" : "12b27ad95a8b", "cluster_name" : "docker-cluster", "cluster_uuid" : "yz2VKxzORYCQUjXz0MerxQ", "version" : { "number" : "7.12.1", "build_flavor" : "default", "build_type" : "docker", "build_hash" : "3186837...b7", "build_date" :
"2021-04-20T20:56:39.040728659Z", "build_snapshot" : false, "lucene_version" : "8.8.0", "minimum_wire_compatibility_version" : "6.8.0", "minimum_index_compatibility_version" : "6.0.0"
}, "tagline" : "You Know, for Search" }
4
Install and run Elasticsearch
? The easiest way to install Elasticsearch is to use a Docker image. A list of all published Docker images and tags is available at docker.elastic.co
$ docker pull docker.elasticsearch/elasticsearch:7.13.1
? Start a single-node cluster (localhost:9200):
$ docker run -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" docker.elasticsearch/elasticsearch:7.13.1
5
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- a tutorial on pointers and arrays in c massachusetts institute of
- arrays algorithms and functions openmodelica
- cs106a stanford handout 49 fall 2004 05 nick parlante arraylist
- object oriented php
- elasticsearch with programming php zimuel
- introduction to php harding university
- phpgurukul programming blog string and array in php
- technical guide writing php extensions zend
- practical php object injection insomnia sec
- chapter 15 javascript 4 objects and arrays university of cape town
Related searches
- php project management open source
- php syntax error checker
- sql programming with python
- php helpdesk open source
- php ticketing system
- php support ticket system
- php document management system
- php search multidimensional array
- php create multidimensional array dynamically
- php redirect to url
- php array find
- php find item in array