Multiple Inputs for completion suggestor

(Siddharth Gupta) #1


Kindly have a look at the following problem.
In an example mentioned under Multiple Inputs in the following link:

While indexing we are giving 2 inputs for suggestion purpose.
"name" : "Mercure Hotel Munich",
"city" : "Munich",
"name_suggest" : {
"input" : [
"Mercure Hotel Munich",
"Mercure Munich"

Now if I have a .csv file with all my inputs (which are around 70k) how can I provide that file as input ?

Can please somebody help me to solve this issue ?

(David Pilato) #2

You can read your csv file with logstash and send that to elasticsearch.

(system) #3