searchengine: Do not fight filechooser search mode sorting
Provide the hits in an order that is more easily consumed by the filechooser, and less jarring when populating.
This commit is contained in:
committed by
Jan Alexander Steffens (heftig)
parent
b62a280e0c
commit
e9f2daa445
@ -52,7 +52,7 @@
|
|||||||
" OPTIONAL { ?urn nie:interpretedAs ?ie } ." \
|
" OPTIONAL { ?urn nie:interpretedAs ?ie } ." \
|
||||||
__PATTERN__ \
|
__PATTERN__ \
|
||||||
"} " \
|
"} " \
|
||||||
"ORDER BY DESC(fts:rank(?urn)) DESC(?url)"
|
"ORDER BY ASC(?url)"
|
||||||
|
|
||||||
#define SEARCH_QUERY SEARCH_QUERY_BASE("")
|
#define SEARCH_QUERY SEARCH_QUERY_BASE("")
|
||||||
#define SEARCH_RECURSIVE_QUERY SEARCH_QUERY_BASE("FILTER (STRSTARTS (?url, CONCAT (~location, '/')))")
|
#define SEARCH_RECURSIVE_QUERY SEARCH_QUERY_BASE("FILTER (STRSTARTS (?url, CONCAT (~location, '/')))")
|
||||||
|
|||||||
Reference in New Issue
Block a user