upenndigitalscholarship / deep

https://deep.pennds.org/
MIT License
3 stars 1 forks source link

first load of search.json and item_data.json #12

Closed apjanco closed 1 year ago

apjanco commented 2 years ago

with all the search options, the index is now 47Mb. once loaded, it's cached, so there's no issue, but the first load can take a while. Need a spinner or loading state so users don't attempt searches

apjanco commented 2 years ago

takes 1.8 minutes here in MT!

apjanco commented 2 years ago

one option for client-side fuzzy search, would need to compare to lunr without making the index during the build https://fusejs.io/demo.html

apjanco commented 2 years ago

revisit search_index #107, there may be some fields that don't need to be indexed, could make some difference

apjanco commented 2 years ago

confirm that I am only indexing required fields