From d736ffb13bd5fc5c587f9479522011436b729f10 Mon Sep 17 00:00:00 2001 From: Hayden Date: Fri, 11 Oct 2024 22:30:33 +0700 Subject: [PATCH 1/3] Squashed commit of the following: commit 2eebd4f822c83a817eedd5283d2e052a414aff1c Author: Hayden Date: Fri Oct 11 22:16:43 2024 +0700 docs(go): client installation commit ba1ff8fc0dc29802cc61cfe46604228142439dc7 Author: Hayden Date: Thu Oct 10 22:13:26 2024 +0700 docs(go): cluster operations commit 1aa2be9b9eb4de9af7d0713e6ae1b81a1a4287b0 Author: Hayden Date: Thu Oct 10 21:32:11 2024 +0700 docs(go): synonyms API commit e9bf043d776e0e0b73db4ba5aa6b99f140524af0 Author: Hayden Date: Thu Oct 10 20:22:56 2024 +0700 docs(go): collection alias API commit 82b54a7fd159b9e5b92e18b67a742a513f83f2b6 Author: Hayden Date: Thu Oct 10 20:07:31 2024 +0700 docs(go): api keys commit 0fcadccd75f4383f87a8c4f7f7bcc474a9f09042 Author: Hayden Date: Wed Oct 9 23:13:33 2024 +0700 docs(go): vector search commit d5f0257dc2b4b977c44d38ac0dfef7b2d982aeb2 Author: Hayden Date: Mon Oct 7 21:56:05 2024 +0700 docs(go): multi search API commit 3dcf4aa62860904176bd4f1c507e2c09026bec26 Author: Hayden Date: Mon Oct 7 21:43:40 2024 +0700 docs(go): code snippet for search & geosearch API commit 6ddfc16f01b0a9cf8a400c920e4405eb9a050cea Author: Hayden Date: Mon Oct 7 21:42:36 2024 +0700 docs(go): code snippets for collection v27.1 API commit 9236dfd5510a87526ab219632dee6a60efc14af0 Author: Hayden Date: Mon Oct 7 20:24:41 2024 +0700 docs(go): code snippet for installing a client commit 384945b083df7bc84faa48452de2609ab8c7435f Author: Hayden Date: Thu Sep 19 21:31:34 2024 +0700 docs(go): collections API commit 61ceaebf7181579a261afefac82c8decc3506cbd Author: Hayden Date: Thu Sep 19 19:49:22 2024 +0700 docs(go): snippets for `/guide` commit 4d4262694746e154fd62a80a22fab5f60868bb8f Author: Hayden Date: Wed Sep 18 22:29:35 2024 +0700 docs(golang): building-a-search-application snippets --- docs-site/content/27.0/api/collections.md | 184 ++++-- docs-site/content/27.1/api/api-keys.md | 101 +++- .../content/27.1/api/cluster-operations.md | 50 +- .../content/27.1/api/collection-alias.md | 43 +- docs-site/content/27.1/api/collections.md | 183 ++++-- .../27.1/api/federated-multi-search.md | 28 +- docs-site/content/27.1/api/geosearch.md | 48 +- docs-site/content/27.1/api/search.md | 124 +++- docs-site/content/27.1/api/synonyms.md | 58 +- docs-site/content/27.1/api/vector-search.md | 542 +++++++++++++++--- .../guide/building-a-search-application.md | 119 +++- docs-site/content/guide/high-availability.md | 78 ++- .../content/guide/installing-a-client.md | 17 +- .../search-delivery-network.md | 38 +- 14 files changed, 1285 insertions(+), 328 deletions(-) diff --git a/docs-site/content/27.0/api/collections.md b/docs-site/content/27.0/api/collections.md index bebf7fca..be35332b 100644 --- a/docs-site/content/27.0/api/collections.md +++ b/docs-site/content/27.0/api/collections.md @@ -6,7 +6,7 @@ sitemap: # Collections -In Typesense, every record you index is called a `Document` and a group of documents with similar fields is called a `Collection`. +In Typesense, every record you index is called a `Document` and a group of documents with similar fields is called a `Collection`. A Collection is roughly equivalent to a table in a relational database. ## Create a collection @@ -31,7 +31,7 @@ There are two ways to specify a schema: 2. [Have Typesense automatically detect your fields and data types](#with-auto-schema-detection) based on the documents you index. The simplest option is [#2](#with-auto-schema-detection) where you don't have to worry about defining an explicit schema. -But if you need more fine-grained control and/or validation, you want to use [#1](#with-pre-defined-schema) or even mix both together. +But if you need more fine-grained control and/or validation, you want to use [#1](#with-pre-defined-schema) or even mix both together. ### With pre-defined schema @@ -39,9 +39,9 @@ Let's first create a collection with an explicit, pre-defined schema. This option gives you fine-grained control over your document fields' [data types](#field-types) and configures your collection to reject documents that don't match the data types defined in your schema ([by default](./documents.md#dealing-with-dirty-data)). -If you want Typesense to automatically detect your schema for you, skip over to [auto-schema detection](#with-auto-schema-detection). +If you want Typesense to automatically detect your schema for you, skip over to [auto-schema detection](#with-auto-schema-detection). - + + - +