ElasticSearch and my opinion

Umair Iftikhar
2 min readDec 4, 2021

I switch jobs before few days, during my job interview, my interviewer at SpyreSync asked me about ElasticSearch. Before that, I just read a few articles and some documents on ElasticSearch. I go on the website and start scrolling and found this area

It makes me interested in this technology. This platform is built on Apache Lucene, a free and open-source search engine software library. It is an open-source tool in JAVA. I discover other tools as well, built on Apache Lucene. I find many interesting tools. This all research open a new direction of learning in front of me.

From last years, Elastic Search and its components are getting fame. We are calling these tools, Elastic Stack. I found a great definition from a website.

At its core, you can think of Elasticsearch as a server that can process JSON requests and give you back JSON data.
Source: Knowi

I recommend you all to read the following article:

I am just putting Docker compose file. docker-compose.yml

version: '2.2'
services:
es01:
image: docker.elastic.co/elasticsearch/elasticsearch:7.15.2
container_name: es01
environment:
- node.name=es01
- cluster.name=es-docker-cluster
- discovery.seed_hosts=es02,es03
- cluster.initial_master_nodes=es01,es02,es03
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- data01:/usr/share/elasticsearch/data
ports:
- 9200:9200
networks:
- elastic
es02:
image: docker.elastic.co/elasticsearch/elasticsearch:7.15.2
container_name: es02
environment:
- node.name=es02
- cluster.name=es-docker-cluster
- discovery.seed_hosts=es01,es03
- cluster.initial_master_nodes=es01,es02,es03
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- data02:/usr/share/elasticsearch/data
networks:
- elastic
es03:
image: docker.elastic.co/elasticsearch/elasticsearch:7.15.2
container_name: es03
environment:
- node.name=es03
- cluster.name=es-docker-cluster
- discovery.seed_hosts=es01,es02
- cluster.initial_master_nodes=es01,es02,es03
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- data03:/usr/share/elasticsearch/data
networks:
- elastic
kib01:
image: docker.elastic.co/kibana/kibana:7.15.2
container_name: kib01
ports:
- 5601:5601
environment:
ELASTICSEARCH_URL: http://es01:9200
ELASTICSEARCH_HOSTS: '["http://es01:9200","http://es02:9200","http://es03:9200"]'
networks:
- elastic
volumes:
data01:
driver: local
data02:
driver: local
data03:
driver: local
networks:
elastic:
driver: bridge

You can run this on your docker. You can read the documentation

But I am still interested in https://lucene.apache.org/ because it is the base technology behind the Elastic Search. Many tools were developed using this technology. My interest is going with the Opensearch. Let see…

--

--

Umair Iftikhar

In the tech industry with more than 15 years of experience in leading globally distributed software development teams. Father of my Girl.