Thanks @Hendrik_Muhs
This is my normal use case every user can do this multiple time a day with different field used for group by.
Is it feasible to create a index again and again for every request.
You can create as many indexes as your cluster can hold, however I wonder if transform is the right choice if you do not reuse the output and if you are only interested in the result once. You would need to program against the API and manage the created transforms/indices in the background.
Your original concern was taking too much time to return the result. With Async search you can create the search async and pull the result later. This does not leave indices behind, however results must be retrieved during life-time.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.