We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1685b77 commit 6ddb08fCopy full SHA for 6ddb08f
liteindex/query_parser.py
@@ -316,7 +316,7 @@ def search_query(
316
query_str += f" WHERE {' AND '.join(where_conditions)}"
317
318
if sort_by_embedding is not None:
319
- query_str += f""" ORDER BY __distance {'ASC' if reversed_sort else 'DESC'}"""
+ query_str += f""" ORDER BY __distance {'DESC' if reversed_sort else 'ASC'}"""
320
elif sort_by:
321
if isinstance(sort_by, list):
322
query_str += " ORDER BY "
setup.py
@@ -18,7 +18,7 @@
18
EMAIL = "[email protected]"
19
AUTHOR = "BEDAPUDI PRANEETH"
20
REQUIRES_PYTHON = ">=3.6.0"
21
-VERSION = "0.0.3.2.dev4"
+VERSION = "0.0.3.2.dev5"
22
23
# What packages are required for this module to be executed?
24
REQUIRED = []
0 commit comments