Skip to content

Commit

Permalink
DEV: clean up old PRs from previous sites (part 3)
Browse files Browse the repository at this point in the history
  • Loading branch information
dwdougherty committed May 28, 2024
1 parent 722a1d0 commit 6961a16
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion content/commands/ft.alter/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ contain more than 32 attributes, create it with the `MAXTEXTFIELDS` option.

## Return

FT.CREATE returns a simple string reply `OK` if executed correctly, or an error reply otherwise.
FT.ALTER returns a simple string reply `OK` if executed correctly, or an error reply otherwise.

## Examples

Expand Down
2 changes: 1 addition & 1 deletion content/commands/ft.dropindex/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ is full-text index name. You must first create the index using [`FT.CREATE`]({{<
<details open>
<summary><code>DD</code></summary>

drop operation that, if set, deletes the actual document hashes.
drop index operation that, if set, deletes the actual document keys. `FT.DROPINDEX index DD` is an asynchronous operation.

By default, FT.DROPINDEX does not delete the documents associated with the index. Adding the `DD` option deletes the documents as well.
If an index creation is still running ([`FT.CREATE`]({{< baseurl >}}/commands/ft.create/) is running asynchronously), only the document hashes that have already been indexed are deleted.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ weight: 2

Redis Stack provides various field types that allow you to store and search different kinds of data in your indexes. This page explains the available field types, their characteristics, and how they can be used effectively.

## Number fields
## Numeric fields

Number fields are used to store non-textual, countable values. They can hold integer or floating-point values. Number fields are sortable, meaning you can perform range-based queries and retrieve documents based on specific numeric conditions. For example, you can search for documents with a price between a certain range or retrieve documents with a specific rating value.
Numeric fields are used to store non-textual, countable values. They can hold integer or floating-point values. Numeric fields are sortable, meaning you can perform range-based queries and retrieve documents based on specific numeric conditions. For example, you can search for documents with a price between a certain range or retrieve documents with a specific rating value.

You can add number fields to a schema in [`FT.CREATE`]({{< baseurl >}}/commands/ft.create/) using this syntax:

```
FT.CREATE ... SCHEMA ... {field_name} NUMBER [SORTABLE] [NOINDEX]
FT.CREATE ... SCHEMA ... {field_name} NUMERIC [SORTABLE] [NOINDEX]
```

where:
Expand Down

0 comments on commit 6961a16

Please sign in to comment.