Reputation: 62704
Are you able to index text fields that cannot be searched on when the user trys to perform any kind of search/match query?
Upvotes: 0
Views: 78
Reputation: 5882
Yes you can, just exclude them from _all
if you do general purpose query by setting include_in_all
to false: http://www.elasticsearch.org/guide/reference/mapping/core-types/
As all query run on the _all
field by default; this should do the trick.
Upvotes: 1