[issue7731] Search is sluggish
New submission from anatoly techtonik techto...@gmail.com: docs.python.org site search is sluggish or may seem not working at all. The reason is that before search starts, it requires a 800k+ index file to be loaded http://docs.python.org/searchindex.js This file is usually cached. You might not notice sluggishness if it was cached when you loaded search page and were typing search query, but when you redirected to search page with get parameters the search is assumed to be started immediately. Unfortunately, JS execution delayed until index is loaded. Time controls are not updated, there is no indication what is going on and search may appear broken. User then clicks search button again and index starts loading anew. The solution is to load index dynamically after first search request is made. Attached patch is not tested with real server. -- assignee: georg.brandl components: Documentation files: doctools_search_response_speedup.diff keywords: patch messages: 98002 nosy: georg.brandl, techtonik severity: normal status: open title: Search is sluggish Added file: http://bugs.python.org/file15935/doctools_search_response_speedup.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7731 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7731] Search is sluggish
anatoly techtonik techto...@gmail.com added the comment: It appears the doctools project is outdated and development for documentation generation tools moved to Sphinx project. Patch for Sphinx is in Sphinx bug tracker at http://bitbucket.org/birkenfeld/sphinx/issue/322/improve-search-responsiveness -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7731 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7731] Search is sluggish
Ezio Melotti ezio.melo...@gmail.com added the comment: Since you opened a new ticket in the sphinx bug tracker I'll close this one. -- nosy: +ezio.melotti priority: - normal resolution: - duplicate stage: - committed/rejected status: open - closed type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7731 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7731] Search is sluggish
anatoly techtonik techto...@gmail.com added the comment: I would keep this ticket open until the issue is fixed for docs.python.org -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7731 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com