Added note about ascending order to troubleshooting docs - #548 [skip ci]

This commit is contained in:
Andrew Kane
2024-05-08 08:36:24 -07:00
parent 69f49290fb
commit fa8d2df1cc

View File

@@ -790,7 +790,7 @@ SELECT pg_size_pretty(pg_relation_size('index_name'));
#### Why isnt a query using an index?
The query needs to have an `ORDER BY` and `LIMIT`, and the `ORDER BY` must be the result of a distance operator, not an expression.
The query needs to have an `ORDER BY` and `LIMIT`, and the `ORDER BY` must be the result of a distance operator (not an expression) in ascending order.
```sql
-- index