Closed jamiefeiss closed 1 year ago
While ?limit= works for search, there seems to be no support for pagination using ?page= or ?per_page=.
?limit=
?page=
?per_page=
Also, the search results aren't ordered/offset by weight, i.e. the default search method query is missing an ORDER BY ?weight statement:
ORDER BY ?weight
https://github.com/RDFLib/prez/blob/a8e64b47257415ef2d05c50c16bcd4bd5e917bfb/prez/reference_data/search_methods/search_default.ttl#L38-L41
Also the two nested SELECT statements can be combined into one.
While
?limit=
works for search, there seems to be no support for pagination using?page=
or?per_page=
.Also, the search results aren't ordered/offset by weight, i.e. the default search method query is missing an
ORDER BY ?weight
statement:https://github.com/RDFLib/prez/blob/a8e64b47257415ef2d05c50c16bcd4bd5e917bfb/prez/reference_data/search_methods/search_default.ttl#L38-L41
Also the two nested SELECT statements can be combined into one.