genome-nexus / genome-nexus-importer

Import data into MongoDB for use by https://github.com/genome-nexus/genome-nexus/
MIT License
4 stars 16 forks source link

db migration script for search endpoint #52

Closed leexgh closed 2 years ago

leexgh commented 2 years ago

Part of: https://github.com/genome-nexus/genome-nexus/issues/540 Script for index db migration. This creates a new collection based off of existing annotations in the database that is faster for search. Only need to run this if one wants to maintain their old annotations

Command to run script: mongo < index_db_migration.js