Open bcoe opened 9 years ago
ref. #19, #11, #10
I've finished implementing a first pass at an improved search-API, see https://github.com/bcoe/record-crate/pull/24 (of particular interest, I needed to add headers to Polymer's core-ajax requests). Here's how the new search API works:
page
, page_size
, and total
, populated, these values can be used to paginate search results.page
in a search request, to get the next page of results; searches start at page 0
._score
is now taken into account automatically. This will result in keyword searches returning more logical results, once a search-box is added.[['bpm', 'desc'], ['artist', 'desc']]
.Let me know if you have any questions @DeviaVir :+1: