Skip to content

Releases: pdphilip/laravel-opensearch

v1.0.1

06 Jun 13:19
Compare
Choose a tag to compare

New Features

New numeric type mappings for IndexBlueprint

  • double($field) - A double-precision 64-bit IEEE 754 floating point number, restricted to finite values.
  • byte($field) - A signed 8-bit integer with a minimum value of -128 and a maximum value of 127.
  • halfFloat($field) - A half-precision 16-bit IEEE 754 floating point number, restricted to finite values.
  • scaledFloat($field, $scalingFactor = 100) - A floating point number that is backed by a long, scaled by a fixed double scaling factor.
  • unsignedLong($field) - An unsigned 64-bit integer with a minimum value of 0 and a maximum value of 264-1.

Example:

  Schema::create('my_index', function (IndexBlueprint $index) {
      $index->double('some_field_a');
      $index->byte('some_field_b');
      $index->halfFloat('some_field_c');
      $index->scaledFloat('some_field_d', 100);
      $index->unsignedLong('some_field_e');
  });

Bug fixes

  • Fixed Connection to process options

Full Changelog: v1.0.0...v1.0.1

v2.0.0

29 Apr 22:38
Compare
Choose a tag to compare

Initial Release for Laravel 10 & 11

composer require pdphilip/elasticsearch:~2

Documentation: https://opensearch.pdphilip.com/

Note: This package has been built off the back of the original Elasticsearch version of this package

v1.0.0

29 Apr 22:38
Compare
Choose a tag to compare

Initial Release for Laravel 8 & 9

composer require pdphilip/elasticsearch:~1

Documentation: https://opensearch.pdphilip.com/

Note: This package has been built off the back of the original Elasticsearch version of this package