vinted / elasticsearch-dsl-rs

Strongly typed Elasticsearch DSL written in Rust
Apache License 2.0
198 stars 18 forks source link

Support f32 and f64 in decay functions #262

Closed alpoi-x closed 8 months ago

alpoi-x commented 8 months ago

Looks like f32 and f64 were missed from the Function macro defined here

This pr adds the missing float types to the list and adds a test to ensure it is serialised correctly

docs: function score query supports all numeric field types

alpoi-x commented 8 months ago

Any chance of a release? 😅

buinauskas commented 8 months ago

@alpoi-x a pretty big chance of release, I've had a rough start of the year, sorry 😅