KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am totaly new in elastic so my knowledge is only from elasticsearch site and I need to help. My task is to index large row data in html format into elastic search. I already crawled my data and stored it onto disk (200 000 html files). My question is what is the simplest way to index all html files into elasticsearch? Should I do it manualy by for each document to make put request to elastic? For example like: curl -XPUT 'http://localhost:9200/registers/tomas/1' -d '{ "user" : "tomasko", "post_date" : "2009-11-15T14:12:12", "field 1" : "field data" "field 2" : "field 2 data" }' And second question is if I have to parse HTML document to retrieve data for JSON field 1 like in example code over? And finaly after indexing may I delete all HTML documents? Thanks for all.
Tags (comma-separated)
Save Edits
Cancel