implement caching and hashing #2
Merged
charlesreid1
merged 19 commits from cache-and-hash
into master
6 years ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'cache-and-hash'
Deleting a branch is permanent. It CANNOT be undone. Continue?
this PR mainly revises the algorithms for the functions that iterate over each item in a collection, and the functions that add documents to the search index.
the main changes to the functions iterating over each item in a collection:
better checking of pre-existing itemsusing sets to determine old/new/existing recordsthe main changes to the functions adding documents to the search index:
checking for existing version of document before addingbetter logic to check/know when to check for another recordother minor changes:
comments/docstringsupdates to search.html templatethis is ready to go, except for the fact that... it doesn't actually use hashing yet. we're at 16 commits, all helpful to making this tool more functional. but we should still squeeze in hashing before we merge this.
more details... fixing alert boxes for control panel... so I got that goin for me
Aright forget about hashing content, just re-index everything. We'll come back to hashing soon.
acc28aab44
.