All notable changes to this project will be documented in this file.
- Ergonomic methods to
AggResult
that allow you to directly get at the data the enum is wrapping. Prior to this change you had to work directly from theAggResultCollection
; which may not always be the case if you're attempting to pass individual results around to be processedd by the the code that created the request for them w/o passing the entire collection.
- Empty
bool
query building bug is fixed. When attempting to build a search if you apply an empty criteria set, such as anAllMatch
it would generate a malformed query where thebool
node had an empty filter. Now criterion are checked before being applied to a search to prevent this going forward.
- Support to unwrap the
MultiResponse
structure down to it's underlying vector of search result payloads.
- Requirement for
Debug
andClone
for typesT
inMultiResponse
is no longer needed forClient#multi_search
to return results. Now if the typeT
does implement both/either trait thenMultiResponse
will also have that functionality.
Cow<'static, str>
can now be coerced to aScalarValue
directly.u8
,u16
,u32
,i32
,i16
,i8
are now coerced toScalarValue
f32
is now coerced toScalarValue
hits_mut()
anddocs_mut()
mutable iterators to search resultshits_take()
anddocs_take()
to extract collections from results- Make offical adapter clone-able so the client can also be cloned
- Requirement for
Debug
andClone
for typesT
inSearchResults
is no longer required in order forClient#search
to return results. Now if the typeT
does implement both/either trait thenSearchResults
will also have that functionality.
- Spelling references from
offical
toofficial
- Initial official release and published to
crates.io