1

I have a .json file and I want to load into elastic search for filtering.

2

1 Answer 1

1

A simple way to get started is to use curl. If you have a JSON file with a single document, you could index it like this:

$ curl -XPOST "http://localhost:9200/example/default" [email protected]

example is the index name and default the doc type.

For more information, take a look at the docs:

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.