Skip to content

Releases: theablefew/stretchy

v0.7.0

31 Mar 01:53
d3fa073
Compare
Choose a tag to compare

What's Changed

  • Fix issues with MachineLearning::Model::Registry and add rake tasks to manage indices, pipelines, and models by @esmarkowski in #114
  • Fix double load of stretchy.rake and add tasks for ml nodes by @esmarkowski in #115
  • Update documentation,
  • Add Connector
  • Add connector rake tasks
  • Add OpenSearch connector API by @esmarkowski in #116
  • Version bump to v0.7.0 by @esmarkowski in #117
  • Add Model registry to simplify ML Models, Pipelines and Connector references

Full Changelog: v0.6.6...v0.7.0

v0.6.6

28 Mar 14:40
636042e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.6.5...v0.6.6

v0.6.5

20 Mar 13:34
af392db
Compare
Choose a tag to compare

What's Changed

  • Add Ingest Pipelines by @esmarkowski in #85
  • Add MachineLearning Models by @esmarkowski in #92
  • Add neural search #87
  • Add neural_sparse search #84
  • Add hyrbrid search #89
  • Ranges supplied to .where adjust upper bounds if the range is inclusive vs exclusive @esmarkowski in #94

Full Changelog: v0.6.0...v0.6.5

v0.6.0

15 Mar 19:37
19fac5e
Compare
Choose a tag to compare

What's Changed

  • Address limit with count expectations #54 in #72
  • Add Attributes Types and attribute options in #74
  • Create mappings from attributes in #78
  • Add instrumentation #79

Full Changelog: v0.5.0...v0.6.0

v0.5.0

14 Mar 00:08
587cda7
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.4.0...v0.5.0

v0.4.0

10 Mar 14:38
Compare
Choose a tag to compare

What's Changed

  • Query filters now use .filter_query for clarity and to avoid conflict with aggregation types. See #47 for details.
  • Aggregations now have named helpers as introduced in #46
    This allows for more concise and readable code when performing aggregations. For example:
Model.terms(:good_titles, field: :title)
Model.range(:age_ranges, field: :age, ranges: [{from: 33, to: 42}])
# named aggregations accept a third paramter for nested aggregations
Model.terms(:authors, field: :name, aggs: {avg_age_age: {avg: {field: :age}}}
  • A new attribute type, :keyword, has been added. This allows for more precise querying on keyword fields. See #44, #43, and #42 for more details. Example usage:
class MyModel < Stretchy::Record
   attribute :title, :keyword
   attribute :body, :string
end
  • When querying, attribute names of type :keyword are automatically appended with .keyword.
  • A reload! method has been added to bin/console for convenience. See #49 for details.
  • Fixed an issue where the sort method was overriding default_sort_key #50
  • Sort options are scrubbed when the .count is called. See #51 for details.

Breaking Changes

  • In the previous version, the method .filter was used to apply a Query Filter. However, as .filter is also an aggregation type, it created a conflict with the aggregation helpers introduced in #46. To resolve this conflict and improve clarity, the method for applying Query Filters has been renamed to .filter_query. This change more accurately reflects the application of the filter in the query context.

Full Changelog: v0.3.3...v0.4.0

v0.3.3

07 Mar 18:27
Compare
Choose a tag to compare

What's Changed

  • Minor changes to publishing workflow

Full Changelog: v0.3.1...v0.3.3

v0.3.0

06 Mar 01:57
0d5b148
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.0...v0.3.0

v0.2.0

04 Mar 22:12
2e86d8d
Compare
Choose a tag to compare

What's Changed

  • Update readme by @esmarkowski in #19
  • Fix Scope overwriting clauses in some cases #20 by @esmarkowski in #21
  • Ensure operability with Rails.
  • Rename to stretchy-model

Full Changelog: v0.1.0...v0.2.0

v0.1.0

04 Mar 16:41
fa735b3
Compare
Choose a tag to compare

What's Changed

Port

Full Changelog: https://github.com/theablefew/stretchy/commits/v0.1.0