Skip to content

Commit e7357af

Browse files
Merge #1721
1721: add commas after `e.g.` and `i.e.` r=maryamsulemani97 a=maryamsulemani97 Co-authored-by: Maryam Sulemani <[email protected]> Co-authored-by: Maryam <[email protected]>
2 parents 3c4cbb4 + b28c948 commit e7357af

File tree

19 files changed

+23
-23
lines changed

19 files changed

+23
-23
lines changed

learn/advanced/datatypes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ You can also create [filters](/learn/advanced/filtering_and_faceted_search.md).
6161

6262
## Boolean
6363

64-
A Boolean value, which is either `true` or `false`, is received and converted to a lowercase human-readable text (i.e. `true` and `false`). Booleans can be searched as they are converted to strings.
64+
A Boolean value, which is either `true` or `false`, is received and converted to a lowercase human-readable text (i.e., `true` and `false`). Booleans can be searched as they are converted to strings.
6565

6666
## `null`
6767

learn/advanced/snapshots.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Snapshots
22

3-
A snapshot is an exact copy of the database (i.e. the `data.ms` folder) at the time the snapshot was created. Besides compression, snapshots do not go through any processing. They can be thought of as "pre-compiled copies".
3+
A snapshot is an exact copy of the database (i.e., the `data.ms` folder) at the time the snapshot was created. Besides compression, snapshots do not go through any processing. They can be thought of as "pre-compiled copies".
44

55
Using this feature, it is possible to schedule snapshot creation at custom intervals and use existing snapshots to restore Meilisearch.
66

@@ -50,7 +50,7 @@ meilisearch --import-snapshot mySnapShots/data.ms.snapshot
5050

5151
Take note that whenever you launch Meilisearch from a snapshot, it will **stop processing and throw an error** if it encounters either of the two following situations:
5252

53-
1. A database already exists (i.e. you have a non-empty `data.ms` folder in the same directory as your Meilisearch binary)
53+
1. A database already exists (i.e., you have a non-empty `data.ms` folder in the same directory as your Meilisearch binary)
5454
2. No snapshot is found at the given path
5555

5656
In both cases, **this behavior is [configurable](/learn/configuration/instance_options.md#ignore-missing-snapshot)**.

learn/advanced/tokenization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This allows Meilisearch to function in several different languages with zero set
1010

1111
![Chart illustrating the architecture of Meilisearch's tokenizer](https://user-images.githubusercontent.com/6482087/102896344-8560d200-4466-11eb-8cfe-b4ae8741093b.jpg)
1212

13-
When you add documents to a Meilisearch index, the tokenization process is handled by an abstract interface called an **analyzer**. The analyzer is responsible for determining the primary language of each field based on the scripts (e.g. Latin alphabet, Chinese hanzi, etc.) that are present there. Then, it applies the corresponding **pipeline** to each field.
13+
When you add documents to a Meilisearch index, the tokenization process is handled by an abstract interface called an **analyzer**. The analyzer is responsible for determining the primary language of each field based on the scripts (e.g., Latin alphabet, Chinese hanzi, etc.) that are present there. Then, it applies the corresponding **pipeline** to each field.
1414

1515
We can break down the tokenization process like so:
1616

learn/advanced/updating.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ If you have already **installed the latest version and manually indexed your dat
1010

1111
## Verify your database version
1212

13-
Before we begin, you need to **verify the version of Meilisearch that's compatible with your database**, i.e. the version that indexed the data. You can do so by launching a Meilisearch instance:
13+
Before we begin, you need to **verify the version of Meilisearch that's compatible with your database**, i.e., the version that indexed the data. You can do so by launching a Meilisearch instance:
1414

1515
```bash
1616
./meilisearch --master-key="MASTER_KEY"
@@ -37,7 +37,7 @@ The response should look something like this:
3737

3838
If you get the error `Cannot open database, expected Meilisearch engine version: 0.X.X, current engine version 0.Y.Y`, your database is not compatible with the currently installed Meilisearch version.
3939

40-
In this case, you need to **download the compatible version now** (i.e. `0.X.X` in the above error message) so that you can access and export your database.
40+
In this case, you need to **download the compatible version now** (i.e., `0.X.X` in the above error message) so that you can access and export your database.
4141

4242
:::: tabs
4343

learn/configuration/instance_options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ In the previous example, `./meilisearch` is the command that launches a Meilisea
4242

4343
Environment variables for command-line flags accept `n`, `no`, `f`, `false`, `off`, and `0` as `false`. An absent environment variable will also be considered as `false`. Any other value is considered `true`.
4444

45-
Environment variables are always identical to the corresponding command-line option, but prepended with `MEILI_` and written in all uppercase. **Some options (e.g. `--import-snapshots`) are not available as environment variables.**
45+
Environment variables are always identical to the corresponding command-line option, but prepended with `MEILI_` and written in all uppercase. **Some options (e.g., `--import-snapshots`) are not available as environment variables.**
4646

4747
## All instance options
4848

learn/configuration/typo_tolerance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Typo tolerance
22

3-
Typo tolerance helps users find relevant results even when their search queries contain spelling mistakes or typos, e.g. typing `phnoe` instead of `phone`. You can [configure the typo tolerance feature for each index](/reference/api/typo_tolerance.md#update-typo-tolerance).
3+
Typo tolerance helps users find relevant results even when their search queries contain spelling mistakes or typos, e.g., typing `phnoe` instead of `phone`. You can [configure the typo tolerance feature for each index](/reference/api/typo_tolerance.md#update-typo-tolerance).
44

55
## Configuring typo tolerance
66

learn/contributing/contributing_to_docs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ On the Meilisearch documentation team, [GitHub Issues](https://github.com/meilis
1919

2020
- A detailed bug report
2121
- A request for a new technical feature (e.g. dark mode, versioning, etc.)
22-
- A request for new content (e.g. a tutorial, guide, or explanation)
22+
- A request for new content (e.g., a tutorial, guide, or explanation)
2323
- A helpful suggestion for the future of the documentation
2424

2525
We love issues at Meilisearch, because they help us do our jobs better. Nine times out of ten, the most useful contribution is a simple GitHub issue that points out a problem and proposes a solution.
@@ -61,7 +61,7 @@ All you need to continue is a [GitHub account](https://github.com).
6161
1. On the documentation page you'd like to edit, scroll to the bottom and click **"Edit this page"** on the left. This will take you to GitHub.
6262
2. If you're not already signed in, do so now. You may be prompted to create a [fork](https://docs.github.com/en/github/getting-started-with-github/fork-a-repo)—if so, do it.
6363
3. Use GitHub's text editor to make the change you want.
64-
4. Scroll down to where it says `Propose changes`. In the first text box, write a short description (e.g. "Fix typo"). In the second text box, write a longer description of your changes if necessary.
64+
4. Scroll down to where it says `Propose changes`. In the first text box, write a short description (e.g., "Fix typo"). In the second text box, write a longer description of your changes if necessary.
6565
5. Click `Propose changes` to continue. You should see a page that says `Comparing changes`. This screen is prompting you to create a pull request.
6666
6. Make sure the base repository is `meilisearch/documentation` and the base is `master`. Don't worry about the other two boxes—they automatically target the changes you just made.
6767
7. Below, you can see the changes you made compared to the master branch (what's currently published on docs.meilisearch.com). When you're ready, click `Create pull request`.

learn/cookbooks/koyeb.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Using a master key is optional but strongly recommended when running in producti
3030

3131
### Test Meilisearch
3232

33-
Copy the public URL (e.g. `https://meili-myorg.koyeb.app`) from the [Koyeb control panel](https://app.koyeb.com) and paste it in your browser.
33+
Copy the public URL (e.g., `https://meili-myorg.koyeb.app`) from the [Koyeb control panel](https://app.koyeb.com) and paste it in your browser.
3434

3535
You should land on the Meilisearch [search preview](/learn/what_is_meilisearch/search_preview.md), where you are asked to enter your master key.
3636

learn/cookbooks/qovery.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Visit the [Qovery dashboard](https://start.qovery.com) to create an account if y
2525

2626
### 3. Create a new environment
2727

28-
* Click on **Create environment** and give it a name (e.g. staging, production).
28+
* Click on **Create environment** and give it a name (e.g., staging, production).
2929

3030
!["Create environment" button](https://hub.qovery.com/img/heroku/heroku-3.png)
3131

learn/cookbooks/search_bar_for_docs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The Meili team provides and maintains a [scraper tool](https://github.com/meilis
4040

4141
### Configuration file
4242

43-
The scraper tool needs a configuration file to know what content you want to scrape. This is done by providing selectors (e.g. the HTML tag).
43+
The scraper tool needs a configuration file to know what content you want to scrape. This is done by providing selectors (e.g., the HTML tag).
4444

4545
Here is an example of a basic configuration file:
4646

learn/core_concepts/documents.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ As an example, let's say you are creating an index that contains information abo
8484
In the above example:
8585

8686
- `"id"`, `"title"`, `"genres"`, `"release-year"`, and `"cast"` are attributes
87-
- Each attribute is associated with a value, e.g. `"Kung Fu Panda"` is the value of `"title"`
87+
- Each attribute is associated with a value, e.g., `"Kung Fu Panda"` is the value of `"title"`
8888
- The document contains a field with the primary key attribute and a unique document id as its value: `"id": "1564saqw12ss"`
8989

9090
#### NDJSON

learn/experimental/auto-batching.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ To enable auto-batching, start Meilisearch while supplying the `--enable-auto-ba
2525
For document addition requests to be added to the same batch, they need to:
2626

2727
- Target the same index
28-
- Have the same update method (e.g. [POST](/reference/api/documents.md#add-or-replace-documents) or [PUT](/reference/api/documents.md#add-or-update-documents))
28+
- Have the same update method (i.e., [POST](/reference/api/documents.md#add-or-replace-documents) or [PUT](/reference/api/documents.md#add-or-update-documents))
2929
- Be immediately consecutive
3030

3131
By default, **auto-batching will not delay processing a request in order to batch multiple requests together.** If it can process the request immediately, it will. [This behavior can be altered using a command-line option](#customization-options).

learn/getting_started/quick_start.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This quick start will walk you through setting up Meilisearch, adding documents, performing your first search, using the search preview, adding a search bar, and securing your instance.
44

5-
All that is required is a [command line](https://www.learnenough.com/command-line-tutorial#sec-running_a_terminal) for installation, and some way to interact with Meilisearch afterwards (e.g. [cURL](https://curl.se) or one of our [SDKs](/learn/what_is_meilisearch/sdks.md)).
5+
All that is required is a [command line](https://www.learnenough.com/command-line-tutorial#sec-running_a_terminal) for installation, and some way to interact with Meilisearch afterwards (e.g., [cURL](https://curl.se) or one of our [SDKs](/learn/what_is_meilisearch/sdks.md)).
66

77
Let's get started!
88

learn/what_is_meilisearch/contact.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ We think chat and forum discussions are [highly complementary](https://blog.disc
1414

1515
## GitHub issues 🔩
1616

17-
Bug reports should be added as issues in the corresponding repository, e.g. [meilisearch](https://github.com/meilisearch/meilisearch/issues), [meilisearch/documentation](https://github.com/meilisearch/documentation/issues) and so forth.
17+
Bug reports should be added as issues in the corresponding repository, e.g., [meilisearch](https://github.com/meilisearch/meilisearch/issues), [meilisearch/documentation](https://github.com/meilisearch/documentation/issues) and so forth.
1818

1919
_Any suggestion or feedback is highly appreciated. Thank you for your support!_

learn/what_is_meilisearch/telemetry.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ This list is liable to change with every new version of Meilisearch. It's not be
132132
| `system.cores` | Number of cores | 24
133133
| `system.ram_size` | Total RAM capacity. Expressed in `KB` | 16777216
134134
| `system.disk_size` | Total capacity of the largest disk. Expressed in `Bytes` | 1048576000
135-
| `system.server_provider` | Users can tell us on which provider Meilisearch is hosted by filling the `MEILI_SERVER_PROVIDER` environment variable. This is also filled by our cloud deploy scripts, e.g. [GCP cloud-config.yaml](https://github.com/meilisearch/cloud-scripts/blob/56a7c2630c1a508e5ad0c0ba1d8cfeb8d2fa9ae0/scripts/providers/gcp/cloud-config.yaml#L33) | gcp
135+
| `system.server_provider` | Users can tell us on which provider Meilisearch is hosted by filling the `MEILI_SERVER_PROVIDER` environment variable. This is also filled by our cloud deploy scripts, e.g., [GCP cloud-config.yaml](https://github.com/meilisearch/cloud-scripts/blob/56a7c2630c1a508e5ad0c0ba1d8cfeb8d2fa9ae0/scripts/providers/gcp/cloud-config.yaml#L33) | gcp
136136
| `stats.database_size` | Database size. Expressed in `Bytes` | 2621440
137137
| `stats.indexes_number` | Number of indexes | 2
138138
| `start_since_days` | Number of days since instance was launched | 365

reference/api/displayed_attributes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ List the settings.
4242

4343
Update the [displayed attributes](/learn/configuration/settings.md#displayed-attributes) of an index. The index [`uid`](/learn/core_concepts/indexes.md#index-uid) is required.
4444

45-
If an attribute contains an object, you can use dot notation to specify one or more of its keys, e.g. `"displayedAttributes": ["release_date.year"]`.
45+
If an attribute contains an object, you can use dot notation to specify one or more of its keys, e.g., `"displayedAttributes": ["release_date.year"]`.
4646

4747
::: note
4848
`displayedAttributes` only impacts search results. It has no effect on other methods of retrieving or copying documents, such as the [GET documents endpoint](/reference/api/documents.md#get-documents), [dumps](/learn/advanced/dumps.md), or [snapshots](/learn/advanced/snapshots.md).

reference/api/distinct_attribute.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Get the [distinct attribute](/learn/configuration/settings.md#distinct-attribute
3434

3535
Update the [distinct attribute](/learn/configuration/settings.md#distinct-attribute) field of an index. This will re-index all documents in the index. The index [`uid`](/learn/core_concepts/indexes.md#index-uid) is required.
3636

37-
If an attribute contains an object, you can use dot notation to set one or more of its keys as a value for this setting, e.g. `"distinctAttribute": "product.skuid"`.
37+
If an attribute contains an object, you can use dot notation to set one or more of its keys as a value for this setting, e.g., `"distinctAttribute": "product.skuid"`.
3838

3939
#### Body
4040

reference/api/search.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -495,9 +495,9 @@ You will get the following response with the **cropped text in the `_formatted`
495495

496496
Configures the total number of words to appear in the cropped value when using [`attributesToCrop`](#attributes-to-crop). If `attributesToCrop` is not configured, `cropLength` has no effect on the returned results.
497497

498-
Query terms are counted as part of the cropped value length. If `cropLength` is set to `2` and you search for one term (e.g. `shifu`), the cropped field will contain two words in total (e.g. `"…Shifu informs…"`).
498+
Query terms are counted as part of the cropped value length. If `cropLength` is set to `2` and you search for one term (e.g., `shifu`), the cropped field will contain two words in total (e.g., `"…Shifu informs…"`).
499499

500-
Stop words are also counted against this number. If `cropLength` is set to `2` and you search for one term (e.g. `grinch`), the cropped result may contain a stop word (e.g. `"…the Grinch…"`).
500+
Stop words are also counted against this number. If `cropLength` is set to `2` and you search for one term (e.g., `grinch`), the cropped result may contain a stop word (e.g., `"…the Grinch…"`).
501501

502502
If `attributesToCrop` uses the `attributeName:number` syntax to specify a custom crop length for an attribute, that value has priority over `cropLength`.
503503

resources/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ See our [contact page](/learn/what_is_meilisearch/contact.md).
215215

216216
## I have just updated Meilisearch, and I am getting an error: "Cannot open database, expected Meilisearch engine version..."
217217

218-
Until our first stable release (v1.0), Meilisearch minor versions are not compatible with each other, i.e. **every new version is considered breaking** with the small exception of bug-fixing patches. To fix this error, simply delete your database folder (`data.ms` by default) and re-index your documents with the current-version engine. See [updating Meilisearch](/learn/advanced/updating.md) for more information.
218+
Until our first stable release (v1.0), Meilisearch minor versions are not compatible with each other, i.e., **every new version is considered breaking** with the small exception of bug-fixing patches. To fix this error, simply delete your database folder (`data.ms` by default) and re-index your documents with the current-version engine. See [updating Meilisearch](/learn/advanced/updating.md) for more information.
219219

220220
## What are the recommended requirements for hosting a Meilisearch instance?
221221

0 commit comments

Comments
 (0)