What is elastic and its related products? - elasticsearch

Just going to implement elastic search log related task.
Have some questions about elastic:
What is elastic? does it mean flexible stuff?
What is elastic search? (https://www.elastic.co/products/elasticsearch)
what is elastic cache?
what is the relationship between elastic search and elastic cache?
Thanks

I'm not sure what relates ES with EC, but simply Elastic Search is where you index all the data you need, let it be log files or the data from a database. You could store them as docs within an index and then query in order retrieve data from the index.
This is what I got from my neighborhood friend Google:
Elasticsearch is a search engine based on Lucene. It provides a
distributed, multitenant-capable full-text search engine with an HTTP
web interface and schema-free JSON documents.

Related

Is there an elasticsearch equivalent to the Solr Terms Component?

I want to take a look at the actual terms in an Elasticsearch index. In Solr, I can just open the admin and get a list of the most common terms. Is there an Elasticsearch equivalent of this?

Data Archival in Elastic Search

Can you help me with how to Archive data in Elastic search. That I don't know what is curator and data shrink. I am fresher to elastic search. from where I have to start studying and what all things I have to do.
Elastic search is an fulltext index. You can use this technology to index some data to get fast an powerful access to you data.
But, it's an index.
I don't think, elastic search is the right place to archive data.
Especially not if the archive is to fulfill certain archival standards.
You can archive your data somewhere else and use elastic search to search over your archived data.
If I were you, I would use a specialized tool for storing and archiving data and index this data with Elasticsearch for powerful search.
you need to look at using ILM for this, it's the replacement for curator and will handle it much cleaner

Querying the elastic search before inserting into it

i am using spring boot application to load messages into elastic search. i have a use case where i need to query the elastic search data , get some id value and populate it in elastic search json document before inserting it into elastic search
Querying the elastic search before insertion . Will this be expensive ? If yes is there some other way to approach this issue.
You can use update_by_query to do it in one step.
But otherwise it shouldn't be slow if you do it in two steps (get + update). It depends on many things - how often you do it, how much data is transferred, etc.

is elastic search database contains only structured data?

I am a new comer for Elastic search and my question is "I want to store a large amount of log files into Elastic search database. And I am confused with how data files are stored?, which type of files should be stored in the elastic search?, is Elastic search stores only stored structured data files(JSON Format files or some other structure format)? or It will stores unstructured data as well?".
Thanks.
Elasticsearch stores nothing itself, but relies on Apache Lucene for this. Each elasticsearch shard is in itself a fully-functional and independent "index" that can be hosted on any node in the cluster.
https://lucene.apache.org/core/ "Apache LuceneTM is a high-performance, full-featured text search engine library written entirely in Java."
More about what elasticsearch stores: https://www.elastic.co/blog/found-dive-into-elasticsearch-storage
To understand how the data is stored: https://www.elastic.co/guide/en/elasticsearch/guide/current/inverted-index.html the inverted index:
Elasticsearch uses a structure called an inverted index, which is
designed to allow very fast full-text searches. An inverted index
consists of a list of all the unique words that appear in any
document, and for each word, a list of the documents in which it
appears.

Index minio Documents Using Elastic-Search

Can someone tell me what approach I should follow to index documents stored in Minio bucket using elastic-search so that it enables me to search the documents using specific keywords.
there is a plugin in elastic search ingest-attachment is used to index any document follow the link
https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest-attachment.html

Resources