elasticsearch - field filterable but not searchable
问题 Using elastic 2.3.5. Is there a way to make a field filterable, but not searchable? For example, I have a language field, with values like en-US . Setting several filters in query->bool->filter->term , I'm able to filter the result set without affecting the score, for example, searching for only documents that have en-US in the language field. However, I want a query searching for the term en-US to return no results, since this is not really an indexed field for searching, but just so I can