Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add function to append ".keyword" to field name
Added a static method 'asKeyword' in Query.php. This appends a ".keyword" suffix to the field name, aiding in sorting and aggregating on keyword fields. It can be used like `$field = Query::asKeyword($field);`. This makes some querying code easier to read.
- Loading branch information