Releases: theablefew/stretchy
Releases · theablefew/stretchy
v0.7.0
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
What's Changed
- Refactor QueryMethods by @esmarkowski in #97
- Refactor aggregation methods by @esmarkowski in #98
- Reorganize modules by @esmarkowski in #99
- Update documentation and add sidebar by @esmarkowski in #100
- Fix keyword expansion and add configuration for auto keyword expansion by @esmarkowski in #101
- Fix Issue #102: Add
.match
and support for multi match by @esmarkowski in #103 - Add better specs for query methods and query builder by @esmarkowski in #104
- Fix #105 Add
IndexSetting
by @esmarkowski in #106 - Update sparse and dense vector mappings by @esmarkowski in #109
- Add knn_vector type by @esmarkowski in #108
- Support match in where, must, should, must_not by @esmarkowski in #110
- Version bump to 0.6.6 by @esmarkowski in #111
Full Changelog: v0.6.5...v0.6.6
v0.6.5
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
What's Changed
- Address
limit
withcount
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
What's Changed
- More convenience to
.where
by @esmarkowski in #56 - Add attribute accessor for
.pluck
by @esmarkowski in #59 - Fix highlighting and add support for storing and retrieving highlights by @esmarkowski in #60
- Update associations in Stretchy gem by @esmarkowski in #61
- Add Hash, Array, and Text attribute types by @esmarkowski in #63
- Add validation specs by @esmarkowski in #64
- Refactor Relation class by @esmarkowski in #67
Full Changelog: v0.4.0...v0.5.0
v0.4.0
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
v0.3.0
What's Changed
- Update README.md by @esmarkowski in #23
- Opensearch compatibility by @esmarkowski in #25
- Version bump to 0.3.0 by @esmarkowski in #26
Full Changelog: v0.2.0...v0.3.0
v0.2.0
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
What's Changed
- Add callbacks and circuit-breakers by @esmarkowski in #6
- Fix query_string filters by @esmarkowski in #11
- Document query methods by @esmarkowski in #16
- Add instrumentation for Elasticsearch searches by @esmarkowski in #15
- Add spec workflow by @esmarkowski in #18
Port
- @esmarkowski Extracted into separate gem https://github.com/theablefew/elasticsearch-rails after 10 years in production with elasticsearch 2.3+ 🥇
Full Changelog: https://github.com/theablefew/stretchy/commits/v0.1.0