We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Named virtual corpora are system corpora that are cached by filenames.
When searching a named VC with a username, for instance:
referTo "system/ratskorpus"
Kustvakt rewrites the query as follows
{ "@type": "koral:docGroupRef", "ref": "ratskorpus", "rewrites": [ { "@type": "koral:rewrite", "operation": "operation:deletion", "scope": "ref(system/ratskorpus)", "src": "Kustvakt" }, { "@type": "koral:rewrite", "operation": "operation:insertion", "scope": "ref(ratskorpus)", "src": "Kustvakt" } ] }
The rewrites should be merged with operation:override.
operation:override
{ "@type" : "koral:rewrite", "src" : "Kustvakt", "origin" : "Kustvakt", "operation" : "operation:override", "scope" : "ref", "source" : "system/ratskorpus" }
For the future, the cache keys should be enhanced with username instead, so we can support caching users VC as well.
The text was updated successfully, but these errors were encountered:
Sounds reasonable. I guess you mean system/ratskorpus instead of system/named-vc1 in the last snippet.
system/ratskorpus
system/named-vc1
Sorry, something went wrong.
Yes, I have updated the issue description.
Address several rewrite issues.
bf09b19
Update VirtualCorpusRewrite Remove Owner (#779) Add source to QueryReferenceRewrite (#783) and VirtualCorpusRewrite (#780) Change-Id: I53fbae553758d8319d9438afe761f3cc7299cdd0
I have added a new issue #784 to remind us about the improvement of VC-cache structure with usernames.
No branches or pull requests
Named virtual corpora are system corpora that are cached by filenames.
When searching a named VC with a username, for instance:
referTo "system/ratskorpus"
Kustvakt rewrites the query as follows
The rewrites should be merged with
operation:override
.For the future, the cache keys should be enhanced with username instead, so we can support caching users VC as well.
The text was updated successfully, but these errors were encountered: