J
J
Johnick2021-07-12 17:48:46
elasticsearch
Johnick, 2021-07-12 17:48:46

How to index files in elasticsearch?

Greetings.
Can you suggest the best way to proceed in this situation.

There is a small KB with articles. You can add n attachments to each article. This article and attachments need to be indexed and searched.

The article is clear. But with attachments, when there are more than one, it is not very clear how best to store them. In all manuals, as I understand it, through the ingest-attachment plugin, only one attachment can be added to one document.
Is there an option to add more? Or do they not give it that way, and do you need to create a separate document for each attachment? Or maybe there are some other options?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
subsetofmultiset, 2021-07-13
@subsetofmultiset

What about nested field type ?

V
Vitaly Karasik, 2021-07-13
@vitaly_il1

It probably depends on the attachments - PDF can be parsed and searched for, pictures, etc. - No.
Look at https://www.elastic.co/guide/en/elasticsearch/plug... .
https://discuss.elastic.co/t/how-to-index-and-store...

R
Roman Mirilaczvili, 2021-07-22
@2ord

To index files, you can take Solr, running on the same engine.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question