-
Notifications
You must be signed in to change notification settings - Fork 6
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
Avoid errorId in search #187
Comments
The errors are stored in 3 places:
|
Having three places to gather information from and allowing them to get out of sync seems no good. I'd prefer to simplify the application instead of adding more cases. Is there an actual use case where outdated solr makes sense to support?
--
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.
|
The ideal case is that validation is running in the same session as Solr (run |
No, the problem is to not have stable links to errors because |
The search link can be adjusted as following
|
Good idea! For PICA it will work perfectly. For MARC: I am not sure if all other errors can be transformed into queries like this, but it is worth to investigate. Based on a quick overview of the error types most of them will work. |
If ErrorId is needed, it might be generated as hash value of the actual search (#187 (comment)), so it will be stable as well. |
Links to issues use the Solr field
errorId
but this is not stable on updates. At least for "unknown subfield" type of errors the search can better use the specific subfield index. For instance instead oferrorId:112
use PICA017Ex_ss:*
(unknown PICA subfield017E$x
) to list all records having this subfield.Linking to errors based on unknown field requires #128.
The text was updated successfully, but these errors were encountered: