All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Move application env variables from
test_helper.exs
toconfig
directory, in usage for bothdev
andtest
environments.
- Function: multi search
README
regardingdefault_sorting_field
, where it joins the table name with "_id" (e.g.images
isimages_id
instead ofimage_id
).
- Function: delete by query.
- Function: delete all documents in a collection.
- Collection's schema field parameters:
:vec_dist
:store
:reference
:range_index
:stem
HttpClient.run
andHttpClient.httpc_run
function (useHttpClient.request
).
README
regarding test and connection strings.- Replacing connection struct to map.
README
and cheatsheet details regarding on setup for creation of collection schema.
README
on runningdocker compose
.
- Connection module for dynamic loading of credentials.
- Default connection config when running commands (e.g. create collections, etc.).
- Refactor
ExTypesense.HttpClient
on how to handle request. - Bumped dependencies' version.
- Dropped usage of
:httpc
in favor of usingReq library
.
- Some functions from
Document
andHttpClient
where soft depcrated in order to incorporate theConnection
module for dynamic connections loaded from Ecto schema. If you read the docs, you might notice it's marked withdeprecated
and encourages to use the newer ones.
- Fixed typos
- Remove string conversion on struct id when deleting a document.
- Add index_multiple_documents/1 clause for accepting struct args.
- Maps struct pk to document's id.
- Update http request timeout to
3,600
seconds.
- Increase connection timeout.
- Fixed url request path for aliases.
- Refactor functions inside collection and document.
- Changed return values from
{:ok, t()}
tot()
only. - Parse schema field types for
float
,boolean
,string
,integer
and a list with these corresponding types.
- Added cheatsheet section on docs.
- Updated docs
- Returned an ecto query instead of list of results.
- Added search function which returns a list of structs or empty.
- Initial release