Exclude fields from search in Elasticsearch

Hi all,
I am developing a free text search which can search over 150 fields, but I want to exclude this search on about 5 fields. Is there a method to exclude the search on particular set of fields?
One method is to mention all the fields that has to be included in the search. Issue with this method is fields can be introduced on a later stage and I don't have the provision to edit this time after time. Is there a method just discard few fields from search?

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