Skip to content

Commit

Permalink
removed note about order for term and trigram since it has been fixed (
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarAyo authored Dec 3, 2020
1 parent 9194e29 commit 56ec253
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions wiki/content/query-language/schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -382,19 +382,6 @@ transaction conflict rate. Use only the minimum number of and simplest indexes
that your application needs.
{{% /notice %}}

Please note that when specifying at the same time both `term` and `trigram` indexes, in the schema, you will need to specify them in the following exact order: `<predicate>: string @index(term, trigram) .` not vice-versa.
Doing otherwise causes queries using the index to return an error about invalid tokenizers.

```
{
"message": ": Attribute streamTitle does not have a valid tokenizer.",
"extensions": {
"code": "ErrorInvalidRequest"
}
}
```


### DateTime Indices

The indices available for `dateTime` are as follows.
Expand Down

0 comments on commit 56ec253

Please sign in to comment.