Commit Graph

32 Commits

Author SHA1 Message Date
Mark Veidemanis fd47a3ddc8
Use the sentiment aggregation value if present 2023-02-14 07:20:28 +00:00
Mark Veidemanis 0e12b0d185
Properly search tokens and annotate in matched field 2023-02-13 18:14:25 +00:00
Mark Veidemanis 87c232d3f9
Fix notification delivery 2023-02-10 22:52:59 +00:00
Mark Veidemanis 2050e6cb47
Add more comments about source parsing 2023-02-10 07:20:36 +00:00
Mark Veidemanis 7d0ebf87bd
Fix source parsing and set default to all 2023-02-10 07:20:22 +00:00
Mark Veidemanis 090fae013d
Remove debug statements 2023-02-09 22:55:18 +00:00
Mark Veidemanis 2356c6bcd7
Fix formatting matched arguments 2023-02-09 22:54:38 +00:00
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 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 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 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 1bdd332e6e
Fix annotating results and remove debugging code 2022-11-23 18:39:36 +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