BigDataBiology / AMPSphereWebsite

Website for global antimicrobial peptides.
https://ampsphere.big-data-biology.org/home
MIT License
0 stars 2 forks source link

Optimize text search performance #12

Closed AdeBC closed 2 years ago

AdeBC commented 2 years ago

This package helped me a lot: https://sqlite-utils.datasette.io/en/stable/

AdeBC commented 2 years ago

To enable FTS: sqlite-utils enable-fts ampsphere_main_db/AMPSphere_v.2021-03.sqlite Metadata \ GMSC sample microbial_source specI geographic_location general_envo_name

To test if it works: sqlite-utils search ampsphere_main_db/AMPSphere_v.2021-03.sqlite Metadata soil

luispedro commented 2 years ago

Maybe this can be close?

AdeBC commented 2 years ago

Yes. Later if we want to have this feature we can reopen this anyway.