polifonia-project / facets-search-engine

6 stars 0 forks source link

dashboard UI: remove multiple files from index and database for developers to run test easily #70

Open TiangeZhu opened 2 years ago

TiangeZhu commented 2 years ago
  1. remove everything from a zip from both index and database? this is a bit complex because when a zip is loaded the zip file name is not stored in ES neither database, thus it is not clear which files belong to which zip.
  2. given a list of filenames, remove them from index and database
  3. test to make sure they are clean from both index and database

Note: If (1) is complicated (such as if this needs to change contents to index in ES so that everything needs to be re-indexed again), just do (2).