-
Notifications
You must be signed in to change notification settings - Fork 28
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
moderation: added query match rule #1049
base: master
Are you sure you want to change the base?
Conversation
5ef0e19
to
857502d
Compare
857502d
to
0490bc4
Compare
e4a30b7
to
9b9e167
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor things, but otherwise LGTM
from zenodo_rdm.moderation.models import ModerationQuery | ||
|
||
|
||
def test_moderation_query_creation(app): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor/shelve: I trust the feature works, but if relatively easy I would also add a test that performs a match query.
d72dadb
to
a39f1e1
Compare
a39f1e1
to
7829b58
Compare
7729454
to
441023c
Compare
441023c
to
f593ae9
Compare
Closes Issue #1042
cli commands
Create percolator moderation index for records
Add a query
Defaults to score 10 and active True if not provided
Add queries from csv
Defaults to score 10 and active True if not provided
csv format