Update ES maintenance scripts
|Google Code Legacy ID:||Requires documentation:||Yes|
Scripts in our documentation for ES maintenance (https://www.archivematica.org/en/docs/archivematica-1.4/admin-manual/maintenance/maintenance/#elasticsearch) need to be updated so that they work with the newer Elasticsearch version.
#3 Updated by Joel Dunham over 3 years ago
- Status changed from New to Feedback
- Assignee changed from Joel Dunham to Justin Simpson
As also listed on GitHub, two issues were discovered as a result of this work.
1. The AM devtool
am rebuild-elasticsearch-transfer-index-from-files no longer works. I get
ImportError: No module named databaseInterface. The current inability to rebuild the transfer ES index is stated explicitly in this doc.
2. The query
pyes.TermQuery("mets.ns0:mets_dict_list.ns0:amdSec_dict_list.@ID", "amdsec_1") seems like not a very good example because every AIP with at least one file will match that query. Can someone suggest a better query example?