Commit Graph

36 Commits

Author SHA1 Message Date
Mark Veidemanis f4273e4453
Properly handle matched and meta fields, always return sentiment aggregations 2023-02-09 21:41:00 +00:00
Mark Veidemanis c67d89c978
Implement deleting database matches 2023-02-09 21:17:50 +00:00
Mark Veidemanis 9519c1ac9f
Fix policies not triggering properly 2023-02-09 20:28:34 +00:00
Mark Veidemanis fd10a4ba8e
Make things lowercase, improve search queries for rules 2023-02-09 19:10:15 +00:00
Mark Veidemanis 3f666e8251
Update pre-commit versions 2023-02-09 07:20:35 +00:00
Mark Veidemanis c356f58d8a
Add the time taken even where there are no hits 2023-02-09 07:20:28 +00:00
Mark Veidemanis f0455984ef
Create sync versions of pathway to ingest messages to work around sync-only Django management commands 2023-02-09 07:20:45 +00:00
Mark Veidemanis 81c8e34211
Make notification rules queryable 2023-02-02 20:41:19 +00:00
Mark Veidemanis df1e82c5f2
Ingest notification matches to ES 2023-02-02 20:04:55 +00:00
Mark Veidemanis 79b4512546
Make notification rule ID field UUID and fix default sources 2023-02-02 19:35:27 +00:00
Mark Veidemanis 66596cda42
Add total hits to output 2023-02-01 07:20:24 +00:00
Mark Veidemanis 53cb9a7f76
When annotating results, don't send empty queries to Threshold 2023-02-01 07:20:31 +00:00
Mark Veidemanis eb7ff88c15
Fix context view for certain mtypes 2023-02-01 07:20:31 +00:00
Mark Veidemanis 2eb090f088
Use generic meta variable for returning more data about the search 2023-01-16 16:44:55 +00:00
Mark Veidemanis ef9734a34d
Initialise ES client only on first search 2023-01-16 07:20:37 +00:00
Mark Veidemanis c08ecc036f
Check if date range is equal to 2023-01-16 07:20:37 +00:00
Mark Veidemanis 1964ab62ec
Check the specified window 2023-01-16 01:17:19 +00:00
Mark Veidemanis 75603570ff
Finish implementing webhook delivery 2023-01-15 23:02:13 +00:00
Mark Veidemanis 2dd9efcc6f
Fix window/interval validation and make aggs optional in parse_results 2023-01-15 20:27:19 +00:00
Mark Veidemanis 6bfa0aa73b
Implement running scheduled rules and check aggregations 2023-01-15 17:59:12 +00:00
Mark Veidemanis f93d37d1c0
Implement notification rules and settings 2023-01-12 07:20:43 +00:00
Mark Veidemanis a6b385c8bf
Change default query string operator to and 2023-01-01 22:33:17 +00:00
Mark Veidemanis 0a132c6e3a
Fix deduplication function 2022-12-09 07:20:59 +00:00
Mark Veidemanis bd8b995134
Fix dedup 2022-12-09 07:20:28 +00:00
Mark Veidemanis ffc1aaa030
Mutate the response when reversing 2022-11-23 18:52:48 +00:00
Mark Veidemanis 1bdd332e6e
Fix annotating results and remove debugging code 2022-11-23 18:39:36 +00:00
Mark Veidemanis c49c8898eb
Fix online info 2022-11-23 18:33:09 +00:00
Mark Veidemanis 0fd004ca7d
Finish reimplementing Elasticsearch 2022-11-23 18:15:42 +00:00
Mark Veidemanis 39ae1203be
Begin refactoring Elastic backend to use helper functions 2022-11-21 19:43:23 +00:00
Mark Veidemanis 61f93390d9
Replace OpenSearch with Elasticsearch 2022-11-21 07:20:29 +00:00
Mark Veidemanis 7702e04286
Rename elastic and update settings file 2022-11-21 19:20:02 +00:00
Mark Veidemanis 987ba6ed3c
Change druid URL 2022-10-04 21:47:37 +01:00
Mark Veidemanis 835be7e001
Allow duplicate tag keys 2022-09-30 07:22:22 +01:00
Mark Veidemanis 5530fd762c
Fix context menu 2022-09-30 07:22:22 +01:00
Mark Veidemanis bb00475029
Implement Druid DB fetching 2022-09-30 07:22:22 +01:00
Mark Veidemanis 202a13cccb
Begin implementing DB framework 2022-09-27 15:15:08 +01:00