Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Added support for partial_fields #434
I added a simple method to support partial_fields. partial_fields allow the returning of a subset of the record in elastic search. For example if your structured data looks like this:
This could be queried to get the partial records as such:
The record returned will contain a field called 'header' with the hash
The function also supports exclude, but this seem to have no effect on the returned data. It is passed in the query as documented in the elastic search documentation.There may be multiple fields in each the include list and exclude list.