# Multiple Inputs for completion suggestor

**URL:** <https://discuss.elastic.co/t/multiple-inputs-for-completion-suggestor/31608>\
**Category:** Elasticsearch\
**Created:** [October 5, 2015, 6:32am UTC](https://discuss.elastic.co/t/multiple-inputs-for-completion-suggestor/31608 "2015-10-05T06:32:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![siddharth\_gupta](https://avatars.discourse-cdn.com/v4/letter/s/dec6dc/32.png) [@siddharth\_gupta](https://discuss.elastic.co/u/siddharth_gupta)\
**Post date:** [October 5, 2015, 6:32am UTC](https://discuss.elastic.co/t/multiple-inputs-for-completion-suggestor/31608/1 "2015-10-05T06:32:22Z")

</div>

Hello,

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

> **[You Complete Me
	  	 | Elastic](https://www.elastic.co/blog/you-complete-me)**
>
> Effective search is not just about returning relevant results when a user types in a search phrase, it's also about helping your user to choose the best search phrases. Elasticsearch already has did-y...

  
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 ?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [October 5, 2015, 7:38am UTC](https://discuss.elastic.co/t/multiple-inputs-for-completion-suggestor/31608/2 "2015-10-05T07:38:39Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 11:46pm UTC](https://discuss.elastic.co/t/multiple-inputs-for-completion-suggestor/31608/3 "2017-07-05T23:46:48Z")

</div>

Closed on July 5, 2017, 11:46pm UTC


