Issue #322 resolved

Improve search responsiveness

anatoly techtonik
created an issue

When user is redirected to search page from other page and searchindex is not cached and is big (800k or more), the search may appear broken to user. This is described in

The patch below make search page load index only after form controls are animated and user is receiving feedback of what is going on. The proper version would, of course, display message "Caching search index 20k/800k 2.5% complete..." and used received JSON directly instead of reevaluating it, but this requires more time to develop that I had to research this problem.

Comments (9)

  1. anatoly techtonik reporter

    Do you really think that search functionality should be a part of a theme? I would say it is an essential feature to be present in Sphinx independently of themes.

    Is it for 1.0 or for 0.6.x ?

  2. Georg Brandl repo owner

    Don't worry about themes. The search functionality is part of the "basic" theme, which every other theme inherits. The commits are made in the 1.0 branch.

  3. Log in to comment