-
Notifications
You must be signed in to change notification settings - Fork 3
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
Adding Collection Rewrite to an existing collection #781
Comments
I think the first version is better, although the parsing/marking is a bit more complicated. But adding a rewrite to the next higher unchanged element seems to be reasonable. |
Adding the rewrite at one level higher turns out to be more complicated when there are multiple rewrites and a rewrite is done on top of a rewritten node, see #780 . |
The 2nd option can be simplified as follows:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If a KoralQuery contains a collection property, Kustvakt adds collection/availability rewrites within the existing collection.
For corpus query
corpusSigle=WPD17
, Kustvakt replaceskoral:doc
tokoral:docGroup
Before rewrite:
After rewrite:
Theoretically the rewrites should be placed at the same level at collection with
operation:override
instead.Suggestion 1
Alternatively, the rewrites can be placed within collection and it should include deletions as follows. But it is rather verbose.
Suggestion 2
See also #782
The text was updated successfully, but these errors were encountered: