Skip to content

Add pagination to search, and speed it up

Frank Duncan requested to merge paginate-search into main

Created by: frankduncan

Required passing back the total search results so that the mediawiki extension can create the pagination. Otherwise, the big speedup was using the django F() function to use the pre-calculated ts_vector field for ranking rather than rebuilding it each time.

PR Note: I'll merge this late this week if you don't have a chance to look at it so that I can push it to production.

Merge request reports

Loading