I'm currently trying to understand how to map http request parameters into Elasticsearch.
Ideally, I'd have one field per query parameter
parameters: foo: "bar" baz: "qux" q: "search query"
This would allow me to easily analyze the search queries by performing a terms aggregation on
But as Lucene 7/Elasticsearch 6 will come with better support for sparse documents (https://www.elastic.co/blog/elasticsearch-6-0-0-alpha1-released#sparse-doc-values), does the recommendation against sparse documents still hold true? Will the field limit of 1000 still remain in ES 6? How would you map request parameters to Elasticsearch now and in ES 6?