OpenTechStrategies / torque

A flexible web-based open source system for collaboratively evaluating proposals.
1 stars 2 forks source link

Add pagination to search, and speed it up #58

Closed frankduncan closed 2 years ago

frankduncan commented 2 years ago

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.