mirror of
https://github.com/pgvector/pgvector.git
synced 2026-12-04 08:18:46 +00:00
Added note about ascending order to troubleshooting docs - #548 [skip ci]
This commit is contained in:
1 parent
69f49290fb
commit
fa8d2df1cc
1 file changed
+1
-1
@@ -790,7 +790,7 @@ SELECT pg_size_pretty(pg_relation_size('index_name'));
|
||||
|
||||
#### Why isn’t 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
|
||||
|
||||
Reference in new issue
Block a user