This pull request fixes the issues #73 and #71 by adding new attribute types and mapping options to the codebase. The changes include adding sparse_vector and dense_vector attribute types, as well as updating the byte, long, float, short, double, string, half_float, integer, and unsigned_long attribute types. Additionally, a new histogram attribute type and a match_only_text attribute type have been added. This PR also includes some minor code refactoring and bug fixes.
It includes all attribute types supported by Elasticsearch 8
In addition, options can be passed to the attribute methods that correspond to the parameters for the type in elasticsearch.
Added ModelName.attribute_mappings will output the configured mapping based on those parameters.
This pull request fixes the issues #73 and #71 by adding new attribute types and mapping options to the codebase. The changes include adding
sparse_vector
anddense_vector
attribute types, as well as updating thebyte
,long
,float
,short
,double
,string
,half_float
,integer
, andunsigned_long
attribute types. Additionally, a newhistogram
attribute type and amatch_only_text
attribute type have been added. This PR also includes some minor code refactoring and bug fixes.It includes all attribute types supported by Elasticsearch 8
In addition, options can be passed to the attribute methods that correspond to the parameters for the type in elasticsearch.
Added
ModelName.attribute_mappings
will output the configured mapping based on those parameters.