You can probably either:
- Explicitly specify the fields to search on.
- Set the analyzer on the
_allfield to the same as thePathfield. - Use copy_to to create a meta-field like
_allthat contains the tokens from all fields that use the same analyzer, then set this as the default field for searches likequery_string, etc.