How to use the official docker elasticsearch container?

I recommend using docker-compose (which makes lot of things much easier) with following configuration. Configuration (for development) Configuration starts 3 services: elastic itself and extra utilities for development like kibana and head plugin (these could be omitted, if you don’t need them). In the same directory you will need three files: docker-compose.yml elasticsearch.yml kibana.yml With … Read more

How to index a pdf file in Elasticsearch 5.0.0 with ingest-attachment plugin?

You need to make sure you have created your ingest pipeline with: PUT _ingest/pipeline/attachment { “description” : “Extract attachment information”, “processors” : [ { “attachment” : { “field” : “data”, “indexed_chars” : -1 } } ] } Then you can make a PUT not POST to your index using the pipeline you’ve created. PUT my_index/my_type/my_id?pipeline=attachment … Read more