You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clojure client for [Typesense 0.24.0](https://github.com/typesense/typesense)
5
+
Clojure client for [Typesense 0.24.1](https://github.com/typesense/typesense)
6
6
7
7
All of the examples uses the `typesense.client` namespace. The examples shows the simplest way to get started using the client, but all parameters described on Typesense API documentation should work, if that is not the case, please make a pull-request or open an issue.
8
8
@@ -22,11 +22,11 @@ Example of settings.
22
22
23
23
## Collection
24
24
25
-
This section describes how to use the collection, further information can be found [here.](https://typesense.org/docs/0.24.0/api/collections.html#create-a-collection)
25
+
This section describes how to use the collection, further information can be found [here.](https://typesense.org/docs/0.24.1/api/collections.html#create-a-collection)
26
26
27
27
### Create collection
28
28
29
-
The different `types` for the schema can be found [here](https://typesense.org/docs/0.24.0/api/collections.html#create-a-collection).
29
+
The different `types` for the schema can be found [here](https://typesense.org/docs/0.24.1/api/collections.html#create-a-collection).
30
30
31
31
The examples displays the creation of collection named `companies`.
32
32
@@ -78,7 +78,7 @@ The examples displays the creation of collection named `companies`.
78
78
79
79
### Update collection
80
80
81
-
The different `types` for the schema can be found [here](https://typesense.org/docs/0.24.0/api/collections.html#update-or-alter-a-collection).
81
+
The different `types` for the schema can be found [here](https://typesense.org/docs/0.24.1/api/collections.html#update-or-alter-a-collection).
82
82
83
83
The examples shows updating the collection named named `companies` with a new field `year_founded`.
84
84
@@ -222,7 +222,7 @@ Retrieves the collection on the `collection-name`.
222
222
223
223
## Documents
224
224
225
-
This section describes how to use the documents, further information can be found [here.](https://typesense.org/docs/0.24.0/api/documents.html)
225
+
This section describes how to use the documents, further information can be found [here.](https://typesense.org/docs/0.24.1/api/documents.html)
226
226
227
227
### Create document
228
228
@@ -300,7 +300,7 @@ Update document in a collection on id. The update can be partial.
300
300
301
301
## Create/Upsert/Update/Delete Documents
302
302
303
-
Create/upsert/update documents. All of them takes optional parameters, an example is setting the batch size using `:batch_size 20`. Read more [here.](https://typesense.org/docs/0.24.0/api/documents.html#import-documents)
303
+
Create/upsert/update documents. All of them takes optional parameters, an example is setting the batch size using `:batch_size 20`. Read more [here.](https://typesense.org/docs/0.24.1/api/documents.html#import-documents)
304
304
305
305
### Create documents
306
306
@@ -379,7 +379,7 @@ Export documents in collection.
379
379
380
380
## Search
381
381
382
-
Search for documents in a collection. You can find all the query arguments [here.](https://typesense.org/docs/0.24.0/api/documents.html#arguments)
382
+
Search for documents in a collection. You can find all the query arguments [here.](https://typesense.org/docs/0.24.1/api/documents.html#arguments)
383
383
384
384
```clojure
385
385
(search settings "companies" {:q"Innovation"
@@ -421,7 +421,7 @@ Search for documents in a collection. You can find all the query arguments [here
421
421
422
422
## Multi search
423
423
424
-
You can send multiple search requests in a single HTTP request, using the Multi-Search feature. This is especially useful to avoid round-trip network latencies incurred otherwise if each of these requests are sent in separate HTTP requests. You can read more about multi-search [here.](https://typesense.org/docs/0.24.0/api/documents.html#federated-multi-search)
424
+
You can send multiple search requests in a single HTTP request, using the Multi-Search feature. This is especially useful to avoid round-trip network latencies incurred otherwise if each of these requests are sent in separate HTTP requests. You can read more about multi-search [here.](https://typesense.org/docs/0.24.1/api/documents.html#federated-multi-search)
425
425
426
426
```clojure
427
427
(multi-search
@@ -530,7 +530,7 @@ You can send multiple search requests in a single HTTP request, using the Multi-
530
530
531
531
## Api keys
532
532
533
-
Typesense allows you to create API Keys with fine-grain access control. You can restrict access on both a per-collection and per-action level, [read more here](https://typesense.org/docs/0.24.0/api/api-keys.html#create-an-api-key)
533
+
Typesense allows you to create API Keys with fine-grain access control. You can restrict access on both a per-collection and per-action level, [read more here](https://typesense.org/docs/0.24.1/api/api-keys.html#create-an-api-key)
534
534
535
535
### Create api key
536
536
@@ -593,7 +593,7 @@ Deletes api key on `id`.
593
593
594
594
## Curation
595
595
596
-
Using overrides, you can include or exclude specific documents for a given query, read more [here.](https://typesense.org/docs/0.24.0/api/curation.html)
596
+
Using overrides, you can include or exclude specific documents for a given query, read more [here.](https://typesense.org/docs/0.24.1/api/curation.html)
597
597
598
598
### Create or update an override
599
599
@@ -664,7 +664,7 @@ Deletes override on name.
664
664
665
665
## Collection alias
666
666
667
-
An alias is a virtual collection name that points to a real collection. Read more [here](https://typesense.org/docs/0.24.0/api/collection-alias.html)
667
+
An alias is a virtual collection name that points to a real collection. Read more [here](https://typesense.org/docs/0.24.1/api/collection-alias.html)
668
668
669
669
### Create or update alias
670
670
@@ -712,7 +712,7 @@ Delete alias on collection name.
712
712
713
713
## Synonyms
714
714
715
-
The synonyms feature allows you to define search terms that should be considered equivalent, read more [here.](https://typesense.org/docs/0.24.0/api/synonyms.html)
715
+
The synonyms feature allows you to define search terms that should be considered equivalent, read more [here.](https://typesense.org/docs/0.24.1/api/synonyms.html)
716
716
717
717
### Create or update synonym
718
718
@@ -762,7 +762,7 @@ Delete synonym on synonym-name in collection.
762
762
763
763
### Typesense API Errors
764
764
765
-
Typesense API exceptions in the [Typesense-api-errors](https://typesense.org/docs/0.24.0/api/api-errors.html) spec.
765
+
Typesense API exceptions in the [Typesense-api-errors](https://typesense.org/docs/0.24.1/api/api-errors.html) spec.
To run the integration tests you can run a local docker instance with the following command. This will start a instance of Typesense on `localhost:8108`. The Typesense instance will be cleaned before starting the integration tests.
793
793
794
794
```sh
795
-
docker run -p 8108:8108 -v/tmp/data:/data typesense/typesense:0.24.0 --data-dir /data --api-key=key
795
+
docker run -p 8108:8108 -v/tmp/data:/data typesense/typesense:0.24.1 --data-dir /data --api-key=key
796
796
```
797
797
798
798
The following command runs only the integration tests.
0 commit comments