query_gen_actors: temporary update for fixing broken shit

master
Erik de Vries 6 years ago
parent 45da9dd929
commit 7a01a7f18d

@ -2,6 +2,8 @@
export(actor_aggregation) export(actor_aggregation)
export(actorizer) export(actorizer)
export(aggregator)
export(aggregator_elastic)
export(bulk_writer) export(bulk_writer)
export(class_update) export(class_update)
export(dfm_gen) export(dfm_gen)

@ -19,6 +19,7 @@ query_gen_actors <- function(actor, country, pre_tags, post_tags) {
{"bool": { {"bool": {
"filter":[ "filter":[
{"term":{"country":"',country,'"}}, {"term":{"country":"',country,'"}},
{"term":{"version":"agg_V1"}},
{"range":{"publication_date":{"gte":"',startdate,'","lte":"',enddate,'"}}}, {"range":{"publication_date":{"gte":"',startdate,'","lte":"',enddate,'"}}},
{"query_string" : { {"query_string" : {
"default_operator" : "OR", "default_operator" : "OR",

Loading…
Cancel
Save