mediacloud / web-search

Code that drives the public web-based tools for the Media Cloud Online News Archive and Directory.
https://search.mediacloud.org
Apache License 2.0
8 stars 12 forks source link

fix generated query logic for MC simple search with multiple negations #667

Closed rahulbot closed 1 week ago

rahulbot commented 2 weeks ago

See these keywords and the generated query in simple query mode. These negations didn't look right to me, and I can see stories about Weinstein in the samples so that's confirmation it is not right. You'll have to do some poking to figure out the correct syntax.

Media_Cloud_—_Media_Cloud

I think this is right: ("new trial" OR exoner*) -(trump OR knox OR Weinstein). Please double-check my work on that by reviewing matching headlines.