Cut load speed by a factor of 10 by only loading text from similar comments. Highlighted chunks are loaded by demand as a separate ajax call. Still loading all 5000 old comments from database.
Removed console.log statements.
Load chunk data in background as soon as the search completes, which speeds up displaying context bubble.
Removed console.log statements.
Load all personal comments first, then load staff comments later.
Wrote injectBulkDocument in fullproof to be able to inject additional comments into the server. Now for staff members, load personal similar comments first so that there is something in the db after a few seconds. Then, load all comments written by all staff members.
Changed textentry wrapping to pre-wrap, moved new fullproof function to comment_search.js
removed overflow-x
Merge pull request #205 from kleinab/master

Faster comment search