Simple and advanced searches for the same thing do not always yeild the same result [ source: https://github.com/eprints/eprints3.4/issues/466 - admittedly an edge case as it involves numbers and who has a number in their name anyway? ].
To cover all bases, ChangeName should grab eprint ids from both a simple search and advanced search, for whatever it's ever searching for. These lists of ids can then be merged into one list of unique eprint ids to work with as the combined search results.
Alternatively, I could bypass the searches and search an eprints database directly,
except I assume using the EPrints API for searching is the preferred way, so I probably won't bother with the database approach.
Simple and advanced searches for the same thing do not always yeild the same result [ source: https://github.com/eprints/eprints3.4/issues/466 - admittedly an edge case as it involves numbers and who has a number in their name anyway? ].
To cover all bases, ChangeName should grab eprint ids from both a simple search and advanced search, for whatever it's ever searching for. These lists of ids can then be merged into one list of unique eprint ids to work with as the combined search results.
Alternatively, I could bypass the searches and search an eprints database directly,
except I assume using the EPrints API for searching is the preferred way, so I probably won't bother with the database approach.