DDMAL / CantusDB

A new site for Cantus Database running under Django.
https://cantusdatabase.org
MIT License
5 stars 6 forks source link

Implement Solr to improve load times on search views? #435

Open jacobdgm opened 1 year ago

jacobdgm commented 1 year ago

At the LinkedMusic project meeting, someone raised the point that fast load times are the feature that everyone wants but no one asks for, and that developers often don't bother trying to fix long load times when performing database searches because they don't know there are ways to make things faster. Solr was suggested as a tool for optimizing search times. Solr is already used on CantusUltimus, I believe, so this might be a natural thing to implement.

This will require some amount of research, and its implementation is not urgent - just putting this here so as not to forget about it.

fujinaga commented 1 year ago

Yes, this will be good.

jacobdgm commented 1 year ago

If I understand correctly, we're trying to use only django builtins for our searching, in order to not add an extra layer of complexity by adding Solr. Closing.

fujinaga commented 1 year ago

No, we would like to implement Solr at some point unless all searches are blazingly fast.

ahankinson commented 1 year ago

Quite a lot of the search problems you’ve been having have very good solutions in Solr. I’ve been avoiding commenting because I think it would be a distraction at this point to introduce Solr, and not helpful for just getting the site stable and launched. But I would be happy to provide some guidance about this when the time comes.