Elasticsearch 7.9: using a suggester for every field in multiple indexes

I have indexed multiple documents for my website with Elasticsearch and would like to use a suggester on all of the fields in all of the indices. I'm trying to create a site wide search that searches all indexed content on the website.

The suggesters I've looked at only seem to accept one field or using copy_to to create a field that contains the specified fields, but that will take too long for all the indices and fields I have.

Also I've tried using _source: true to no avail.

Is there anyway to use a suggester for multiple indices and all fields of those indices?

I'm using the node version.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.