-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't perform index search on text fields (e.g: archivematica.uuid) when the archivematica dataset is not set as indexable #44
Comments
I figured out how to clear the "Filter" so that at least we can get back to our records display. |
In addition to filtering by archivematica UUID field, the same error shows up if we try to Filter by the Comment field, which is also a text field: Can't perform index search on archivematica.result_log_comment when the archivematica dataset is not set as indexable The other fields (eg: AMID) don't thow this error when filtering. So the question becomes: how do we properly filter/configure a text field so that it can be used with the "Filter"? Perhaps @wfyson, you might know? The declaration for these fields is here:
|
I found a way to resolve the error! I found this thread: https://www.eprints.org/eptech/msg02993.html
Now the question remains, should I use
|
I confirm that adding index => 1 resolves the bug, the error message does not show up, but the searching/filtering is not giving me any results when I search by UUID. Perhaps I need to run a 'reindex' command on the "archivematica" dataset? |
Hi @photomedia, sorry for my lack of response previously, I was on annual leave. It sounds like this got sorted however? It's been a very long time since I've looked at this Archivematica plugin so I'm not too familiar with it, but did running a reindex on the "archivematica" dataset fix things? |
Hi @wfyson. The severity of the issue is less now, because after adding the index => 1 to the dataset, when filtering on those text fields, I no longer get an error message that locks the user out of the "manage records" screen for Archivematica records.
Any idea why the rindex table is missing, and how to get it to be created? |
Aah, I wonder if an "epadmin update <repo_id>" is needed to add the rindex tables to the database first? With the field already present however, I'm not sure if an epadmin update will realise there's anything new to do. |
Hi @wfyson . That worked! I ran epadmin update, it added the dataset, and after that, reindexing solved the issue and now it's filtering as well. Thank you! |
There is a bug I just discovered that needs an urgent fix: searching archivematica records by using the archivematica UUID using the "Filter" causes the following error:
Can't perform index search on archivematica.uuid when the archivematica dataset is not set as indexable.
Not only that, because the "Filter" screen "remembers" this search field as being set, now I'm locked out of my Archivematica records screen.
The text was updated successfully, but these errors were encountered: