1

I have a set of documents that contain a company name. Queries are working just fine for names typed by the user. I have a mapping in place that handles lowercase and non ASCII etc.

There is now a requirement to upload a list of company names. Up to 10,000.

Is it reasonable to throw Elasticsearch a terms query with 10,000 string values?

Kong
  • 8,792
  • 15
  • 68
  • 98
  • Can you elaborate more on this? What are you trying to achieve? You want to search names of all companies at once? Why not then simply list them? Or do you want to search a particular company from those 10000 companies? In that case, elasticsearch can handle millions of values (So 10000 will be easily searchable). – udit mittal Jan 13 '16 at 07:39
  • I want to find 10,000 named companies out of an index of 100 million. – Kong Jan 13 '16 at 22:06
  • 1
    I think you will find the answer [here](http://stackoverflow.com/questions/26642369/max-limit-on-the-number-of-values-i-can-specify-in-the-ids-filter-or-generally-q), you might have to wait few seconds for the results to come back. – ChintanShah25 Jan 15 '16 at 01:43

0 Answers0