Releases: Spameri/ElasticQuery
Releases · Spameri/ElasticQuery
v1.0.0
TBA
v1.0.0
TBA
Mapping objects - Beta
Added mapping objects - beta release
Bucket fixup
Bucket key can have all the types
Version Response
Version Result Object
- Spameri/ElasticQuery/Response/Result/Version
- Object for version info about ES 512cff8
- Travis to work with multiple ES versions
- Added tests 46e92ac
- Options can have scroll and scroll_id c961428
- Added documentation 2b97cf8
ResultMapper can now map bulk action responses.
Hit can have version when option version
is specified in ElasticQuery.
ResultMapper can now map bulk action responses.
- New result class
ResultBulk
BulkAction
class to contain single bulk action response item
Multiple Result objects
New Single Result object
For specific result with document id there is different response so is different object
- Result renamed to ResultSearch
- ResultInterface is for all the response types
Result + Options Object
Response object
- Envelopes response from ES to objects
- Stats object for response time and total count
- Shards object with some numbers
- Hit object for info about result hit and semi object access to data
- Aggregation object for info about result aggregation and buckets in objects
- ResultMapper helps map ES array response to objects
Added Options object
- created empty if not supplied
- ability to set from and size for query
- ability to specify min score for result
- includes sorting
Other changes:
- Term aggregation can have key
- Added collection functions to AggregationCollection
Diff v0.1.2...v0.2.0
Fix not initialized fuzziness
v0.1.2 PHPStan to the rescue
Fix default values
v0.1.1 Fixing default values