Skip to content

Releases: coldbox-modules/cbelasticsearch

v3.0.2

28 Mar 21:10
8fae894
Compare
Choose a tag to compare

Added

  • Added a convenience method in the Util to process incorrectly formatted (HTML) exception messages
  • Added a refreshIndex method to the client to perform full refreshes of index data
  • Added formatToPainless utility script in the Util component to remove whitespace from painless scripts
  • Added getIndexStats method to client for more informational stats on indexes

v3.0.1

12 Mar 16:41
e1b1005
Compare
Choose a tag to compare

Fixed

  • Fixed an error in LogstashAppender when attempting to migrate indices to from v2

v3.0.0

03 Mar 21:24
81f17e8
Compare
Choose a tag to compare

Added

  • Added Data Streams Support
  • Added ILM ( Index Lifecycle Management ) Policy Suport
  • Added Component and Index Template Support
  • Added Snapshot Repository support
  • Added create() method to Document object to support non-upsert operations
  • Added support for migrating cbElasticSearch LogstashAppender indices from v2 to v3( ECS )
  • Added throwOnError property to logstash appender to allow transmission errors to ES to fail quietly

Changed

  • Changed Logstash Appender to use time series Data Streams instead of static indices
  • Changed Logstash Appender Configuruation for data stream support and index lifecycles
  • Converts Logstash Appender to use Elastic Common Schema.

Removed

  • Removed Support for Elasticsearch versions < 7.x
  • Removed Suppport for Alternate ES Clients
  • Removed ElasticsearchAppender object as it was redundant

[2.4.0] - 2022-12-30

Removed

  • Removed support for Adobe Coldfusion 2016 (EOL)

Fixed

  • Issue #111 - Adds the ability to apply settings to an existing index
  • Issue #106 - Adds the ability to specify case-insenstivity to wildcard searches ( default = false )
  • Issue #105 - getAliases now supports multiple indexes with the same alias and returns the attributes to determine r/w capabilities

Added

  • Added getSettings method to retreive settings for a server or for an index
  • Added getMappings method to retreive mappings for an index

[2.3.3] - 2022-10-03

Added

  • Added support for Elasticsearch v8
  • Added ACF201 tests to matrix

Removed

  • Removed Java v8 testing from matrix as ES8 only runs on 11+

Changed

  • Added wait for refresh to cache provider put/delete to ensure concurrency support

[2.3.2] - 2022-09-28

Fixed

  • Fixed an issue where documents were being sent to the rotational index without it being assured and mapped

[2.3.1] - 2022-07-11

Fixed

  • Fixed incorrect return types in LogstashAppender provider methods

[2.3.0] - 2022-05-04

Added

  • Added the ability to pass query params to the client get method
  • Additional documentation updates and examples
  • Added filterRange method to SearchBuilder
  • Added the ability to pass an index name to the IndexBuilder delete method
  • Added additional error handling and parsing to tasks

Fixed

  • Fixes an issue with correctly passing key name to SearchBuilder sort method

[2.2.4] - 2021-12-31

Fixed

  • Fixed an error with stack trace replacement in LogstashAppender.cfc

Changed

  • Changed Build Process to Use Github Actions

[2.2.3] - Unreleased

Changed

  • Build update experimentation version - unreleased

[2.2.2] - 2021-07-15

Added

[2.2.1] - 2021-07-14

Fixed

  • Fixed reserved word issues which would cause errors in Lucee
  • Adds null checks for intermittent errors in Document.cfc when all args were not present
  • Fixes an issue with logstash appender where the exception type was not converting correctly to JSON when provided as additional info

Changed

  • CI/CD Process migrated from Travis CI to Github Actions

[2.2.0] - 2021-02-18

Added

  • Added patch method to client to allow for partial document updates
  • Added deleteById method to client to prevent overhead of Document-based deletions when identifier and index are known
  • Added the ability to pass request parameters to deletion methods
  • Added a new patch method to IndexBuilder.cfc which provides a more intuitive API for partial updates to indices and settings
  • Adds a new processBulkOperation method for performing bulk operations with multiple actions
  • Additional error handling for non-JSON responses from Elasticsearch servers

Fixed

  • Typos in documentation in docblocks

[2.1.2] - 2020-12-11

Fixed

  • Issue #76 - Fixes an incorrect error response typing

[2.1.1] - 2020-12-07

Added

  • Additional documentation updates
  • Improve error response by passing all response errors through a single parsing method
  • Add handling for root cause exceptions on shard failure ( Issue #65 )

Fixed

  • Issue #72 - Fixes a bug where the node pool was not using the full length of the pool
  • Issue #74 - Fixes a regression in filterTerms query DSL generation

[2.1.0] - 2020-12-03

Changed

  • Modifies LogstashAppender schema to match default 7.x logstash template and adds additional schema keys and hooks for Stachebox

Added

  • Adds the collapseToFields method to the search builder to support documents grouped on a specific field.

[2.0.5] - 2020-11-25

Added

  • Adds the ability to specify an operator to term queries via filterTerm and filterTerms and pass multiple values to filter

[2.0.4] - 2020-11-04

Changed

  • Lowers the default number of Logstash shards on index to 2, to prevent inheritance of application shard settings
  • Lowers the default number of Logstash replicas to 0, to prevent maximum shard errors
  • Changes the default Logstahs index rotation frequency to weekly

[2.0.3] - 2020-10-13

Fixed

  • Fixes an error in the Logstash appender which could be thrown by a non-string value in the exception object type key

[2.0.2] - 2020-09-15

Added

  • Adds additional data and exception information in Logstash appender messages

[2.0.1] - 2020-09-10

Added

  • Adds Logstash appender and converts Elasticsearch appender to use Logstash schema for index data
  • Adds a wildcard method to Search builder for wildcard searches on keyword-mapped fields

[2.0.0] - 2020-09-01

Changed

  • Converts default native client to HyperClient ( native CFML implementation )
  • Removes the deleteMapping method in the main client, as it is no longer supported in ES versions 6.5 and up.
  • Removes support for Adobe Coldfusion 11
  • Removes support for Lucee 4.x
  • Moves previous native JEST Client to cbelasticsearch-jest module.
  • Ends official support for 6.x versions of Elasticsearch

Added

  • Adds cbElasticsearchPreSave and cbElasticsearchPostSave interceptions when saving individual or bulk documents
  • Adds the ability to create, update, read, and delete Elasticsearch pipelines
  • Adds the ability to configure a pipeline for document processing ( e.g. myDocument.setPipeline( 'my-pipeline' ) )
  • Adds the ability to add save query parameters when saving individual documents ( e.g. myDocument.addParam( 'refresh', true ) )
  • Adds the ability to pass a struct of params to bulk save operations (e.g. client.saveAll( documents, false, { "refresh" : true } ) )

[1.4.1] - 2020-02-27

Fixed

  • Fixes an issue where a null value would throw an error when creating a native Java HashMap

[1.4.0] - 2020-02-22

Added

  • Adds new search builder methods suggestTerm, suggestPhrase, and suggestCompletion for auto-completion and auto-suggestion queries
  • Adds a throw on error argument, with a default of true, to client reindex() method when waiting for completion

Fixed

  • Fixes an issue where default shard/replica settings were being overwritten when passing a complete config

[1.3.2] - 2020-02-12

Changed

  • Modifies search builder methods of filterTerm and filterTerms to return the builder instance ( Issue #43 )
  • Modifies Document setValue method to return instance, for method chaining ( Issue #40 )

Added

  • Adds a Util component for common inbound and outbound conversions and casting

Fixed

  • Fixes an error when individual documents in a bulk save contained errors ( Issue #44 )

[1.3.1] - 2019-12-13

Added

  • Adds responses to task model
  • Adds the ability to provide a transformation script to the client reindex method

[1.3.0] - 2019-11-28

Added

  • Adds the ability to pass URL parameters to SearchBuilder-aware client methods. Adds a param( name, value ) supporting method to the SearchBuilder
  • Adds a new Task object which can be refreshed and used in a loop as long-running tasks complete in the background ( e.g. while( !task.isComplete() ) )
  • ( Breaking ) Changes the return type of the deleteByQuery and updateByQuery to return the full API response which may be inspected or used to follow-up on tasks
  • implements a getAllTasks() method in the client, which will return an array of Task objects
  • implements a getTask method in the client to retreive tasks by identifier ( e.g. - [node]:[id] ).
  • implements a getIndices method in the client to retreive a map of indices with stats
  • implements a getAliases method in the client to retreive a map of aliases

Fixed

  • Resolves Issue #12 - slf4j missing on non-Runwar installations
  • Resolves Issue #17 - implements workarounds and adds documentation on how to configure and use a connection to a secondary elasticsearch cluster

[1.2.2] - 2019-10-23

Added

  • Adds fallback attempt when connection pool is unexpectedly closed upstream

[1.2.1] - 2019-09-27

Added

  • Adds a soft fail to the version target check when a connection to the ES start page cannot be established

[1.2.0] - 2019-09-26

Added

  • Implements compatibility for Elasticsearch v7
  • Adds environment variable detection for default configuration
  • Implements a new AliasBuilder object, which can be used to alias indexes
  • Implements a new reindex() method in the client which allows the ability to reindex
  • Implements new mustExist and mustNotExist methods ...
Read more

v2.4.0

30 Dec 21:26
b408410
Compare
Choose a tag to compare

Removed

  • Removed support for Adobe Coldfusion 2016 (EOL)

Fixed

  • Issue #111 - Adds the ability to apply settings to an existing index
  • Issue #106 - Adds the ability to specify case-insenstivity to wildcard searches ( default = false )
  • Issue #105 - getAliases now supports multiple indexes with the same alias and returns the attributes to determine r/w capabilities

Added

  • Added getSettings method to retreive settings for a server or for an index
  • Added getMappings method to retreive mappings for an index