Answer the question
In order to leave comments, you need to log in
Data structure in Elasticsearch?
I understand little by little with Elasticsearch,
as far as I understand, this DBMS (if it is such) stores both the description of the object and the object itself?
Structure:
'Indexes' are equivalent to MySQL databases
'Types' are equivalent to tables
What exactly are fields in Elasticsearch?
But where is the object (file) itself mediocrely stored?
Those. how, for example, will the GET request itself look like to get the most stored file in Elasticsearch? Or to search for it, and get information about it, and then to download it.
Answer the question
In order to leave comments, you need to log in
Elastic does not store files, it has indexes! It stores search terms in indexes. On a GET request, it searches for terms in the indexes and returns what it finds as json.
Now, in order to put something in the elastic, we need to index it, bind meta-information, and the elastic itself will break it into terms and put it into indexes.
In other words, the elastic does not store the original information (or almost does not store it), and in order to have access to the original, you need to separately transfer this information to the elastic and receive it in response to a request.
Elastic is not a database, but a search engine. This time. And yes, this is what it would be worth reading the official documentation
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question