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.
- Update compatibility to include Typesense v30.1
- Add tests to include v30.1
- CI to include v30.1
ExTypesense.CurationSets
- Update compatibility to include Typesense v30.0
ExTypesense.upsert_search_synonym/4in favor ofupsert_synonym_set/3orupsert_synonym_set_item/4when using Typesense v30.0+.ExTypesense.get_search_synonyms/2in favor ofretrieve_synonym_set_items/2orretrieve_synonym_sets/1when using Typesense v30.0+.ExTypesense.get_search_synonym/3in favor ofretrieve_synonym_set/2orretrieve_synonym_set_item/3when using Typesense v30.0+.ExTypesense.delete_search_synonym/3in favor ofdelete_synonym_set/2ordelete_synonym_set_item/3when using Typesense v30.0+.
- Update compatibility to include Typesense v29.0
- Added
ExTypesense.NaturalLanguageoperation - Added
ExTypesense.flush_analytics/1 - Added
ExTypesense.get_analytics_status/1 - Added
ExTypesense.get_analytics_events/1 - Added tests for new operations
Operations.config/2. UseOperations.toggle_slow_request_log/2
- Passing
connas part ofoptswhen calling a function, as this reduces code duplication. PR #82
- Bumped dev dependencies
- Remove
collection_namefield in return value when indexing or updating a document via map. Issue #77 PR #78
Stemmingmodule- Tests for new module
ExTypesense.get_schema_changes- Support for Typesense v28.0
- Pass
unionkey on multi search - Bump dependency version.
ExTypesense.get_collection_name, useExTypesense.get_collection_alias
- Bump dependency version.
Collection.create_collection_with_alias/1.- Allow module name (atom) to be passed as alias name in
Collection.create_collection_with_alias/1. - Typespec to pass also omodule name (atom) for
Collection.create_collection_with_alias/1. - Separate dev and test environments.
- Typespecs for
Search.multi_search_ecto. - Return values of
Search.multi_search_ectoforsearch_test.exs.
Collection.get_collection_name/1
- Bump dependency version.
- Bump dependency version.
- README banner image
- External docs link for example of using another HTTP client.
- More test coverage
- Backwards-incompatible changes, in favor of using
OpenApiTypesense. - Bump dependencies
- CI to support Typesense versions v26.0, v27.0, v27.1
- Dropped support for Typesense version v0.25.2
ExTypesense.ResultParsermodule (moved toExTypesense.Search)
- Dropped support for Typesense v0.25.2
{:error, String.t()}type forSearch.search/3
- Use
v27.1of Typesense in CI and local development.
:castoredependency not passing on CI test
- HTTP request construction in
ExTypesense.HttpClientto includeoptions. - Bumped dependencies
optionsin configconfig/config.exs.get_options/0function inHttpClientto fetch theoptionsconfiguration.- tests for
get_options/0inExTypesense.HttpClientTest.
- Move application env variables from
test_helper.exstoconfigdirectory, in usage for bothdevandtestenvironments.
- Function: multi search
READMEregardingdefault_sorting_field, where it joins the table name with_id(e.g.imagesisimages_idinstead 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.runandHttpClient.httpc_runfunction (useHttpClient.request).
READMEregarding test and connection strings.- Replacing connection struct to map.
READMEand cheatsheet details regarding on setup for creation of collection schema.
READMEon runningdocker compose.
- Connection module for dynamic loading of credentials.
- Default connection config when running commands (e.g. create collections, etc.).
- Refactor
ExTypesense.HttpClienton how to handle request. - Bumped dependencies' version.
- Dropped usage of
:httpcin favor of usingReq library.
- Some functions from
DocumentandHttpClientwhere soft depcrated in order to incorporate theConnectionmodule for dynamic connections loaded from Ecto schema. If you read the docs, you might notice it's marked withdeprecatedand 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,600seconds.
- 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,integerand 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