Commit Graph

52 Commits

Author SHA1 Message Date
arberkatellari
1836b041ad Add search function to Get(Profile)IDs APIs 2026-01-14 11:07:12 +01:00
ionutboangiu
8443af3a89 Relicense from GPLv3 to AGPLv3 2025-10-29 19:42:40 +01:00
ionutboangiu
e9b1538450 update newFilterIndex to use batching 2025-10-05 08:54:11 +02:00
ionutboangiu
52aa161331 optimize batch index removal 2025-10-05 08:54:11 +02:00
ionutboangiu
8546c4c64e implement batched index retrieval in GetIndexes method 2025-10-05 08:54:11 +02:00
ionutboangiu
e194979b99 revert bulk index removal and add early return optimization
reverts #4450
2025-09-09 09:31:27 +02:00
ionutboangiu
bc915dc65b add support for exists_indexed_fields 2025-04-18 13:23:54 +02:00
ionutboangiu
abba61723a Optimize removeFilterIndexesForFilter func (#4357)
Previously made two trips (get and set) for each group of items from
an index key being removed. Now, we fetch indexes once at the beginning
and store the updated indexes once at the end.

There was a difference compared to the previous v0.10 implementation
regarding the get/set behaviour. On v0.11, we used to get only the items
separately for each index and update only that index. Even though it
might have been more efficient, trips to the db are still too expensive
so it didn't matter much in the end.
2024-08-14 14:03:55 +02:00
gezimbll
c2dacc42c1 Removed warnings from go staticcheck 2023-11-08 17:10:13 +01:00
porosnicuadrian
c7c181856e ClearCache from ComputeIndexes with contexts subsystems 2021-09-13 16:11:50 +02:00
porosnicuadrian
d9c87ced89 Clear cache on all indexes before computing 2021-08-27 16:38:50 +02:00
porosnicuadrian
4b9d28b80a Not indexing for *asm + tests 2021-07-27 15:54:53 +02:00
Trial97
795fca2c8b Move index health in separate file 2021-07-01 16:14:52 +02:00
Trial97
b77eb9fd00 Added reversedestinationshealth API 2021-06-30 13:27:10 +02:00
Trial97
1578e542ff Updated index health APIs 2021-06-30 13:27:10 +02:00
Trial97
7411db3a31 Renamed structures IndexHealthReply 2021-06-30 13:27:10 +02:00
Trial97
6ec3dc01bc Updated index health tests 2021-06-17 15:42:52 +02:00
Trial97
1fc27c2d5b Moved GetAccountActionPlansIndexHealth in engine 2021-06-17 15:42:52 +02:00
porosnicuadrian
f4c3afba33 Tested cases for indexes as DynamicDP 2021-05-26 20:12:11 +02:00
porosnicuadrian
608ec8ae18 Updated checking dynamic path for filters 2021-05-26 20:12:11 +02:00
porosnicuadrian
c9341ff3de *accounts, *stats, *resources, *libphnumber are not indexing 2021-05-26 20:12:11 +02:00
porosnicuadrian
91eda67c4a Updated indexes apis in favor of cache 2021-05-11 20:57:11 +02:00
Trial97
419bb48571 Updated Filter indexes update 2021-05-04 20:44:07 +02:00
nickolasdaniel
ce915c77a6 Removing ActionS 2021-04-01 16:33:37 +02:00
ionutboangiu
3197b3a458 Remove RateS 2021-04-01 16:33:37 +02:00
andronache
51c201e50e Removing accounts (build.sh runs) 2021-04-01 16:33:37 +02:00
porosnicuadrian
5d323f4671 Removed RateProfile from engine package to utils 2021-03-18 18:12:47 +01:00
porosnicuadrian
73ee1b0dee New index update case for rate profile rate + tests 2021-03-11 17:10:55 +01:00
porosnicuadrian
48986c152a Tested cases when the indexes are updated 2021-03-10 17:12:24 +01:00
Trial97
f2c9ca3530 Fixed typo in license header 2021-03-10 16:22:37 +01:00
Trial97
a2c7c7447d Updated the reverse filter indexing for the rates from RateProfiles 2021-03-10 16:22:37 +01:00
porosnicuadrian
5cc52cb490 New cases in updating indexes for new susbsystem's profiles 2021-03-09 17:29:53 +01:00
andronache
4ff3b9242d Consts in utils 2021-01-07 18:15:35 +01:00
andronache
1470267727 Modified consts in utils 2021-01-07 18:15:35 +01:00
Trial97
e95e4bfa7b Updated the locks for reverse filter indexes 2020-09-01 15:52:08 +02:00
Trial97
bd0626a908 Updated the locking for filter indexes 2020-09-01 15:52:08 +02:00
Trial97
cd14ab0a2b Added automatic cache reload for filter indexes 2020-09-01 15:52:08 +02:00
Trial97
e2049ae318 Added cache reload for indexes 2020-08-13 11:34:53 +02:00
TeoV
ecd7f4bb81 Instead of searching in slice for possible filter types use a global stringSet 2020-07-30 11:13:37 +02:00
Trial97
b0c354c7c1 Updated filter indexes to only index dynamic path 2020-07-24 15:11:45 +02:00
Trial97
9d17da8e3a Updated filters migration 2020-07-09 12:17:37 +03:00
Trial97
f4fe295cd1 Updated internalDB integration tests 2020-06-29 18:11:20 +03:00
Trial97
9bfcc9de6e Added *reverse_filter_indexes cache partition 2020-06-17 09:50:36 +02:00
Trial97
f608a58e36 Added integration tests for reverse filter indexes 2020-06-17 09:50:36 +02:00
Trial97
ba09feb3d6 Added support for reverse filter indexes 2020-06-17 09:50:36 +02:00
Trial97
3799ba5c4f Added Filter indexes support 2020-06-17 09:50:36 +02:00
Trial97
8d94a2d8dc Replaced FilterIndexes functions 2020-06-17 09:50:36 +02:00
Trial97
ac814d98a2 Updated ComputeIndexes API 2020-06-17 09:50:36 +02:00
Trial97
5cdf187ea2 Updated MatchingItemIDsForEvent to use the new Indexes format 2020-06-17 09:50:36 +02:00
Trial97
8dfdeb4522 Added some comments for index functions 2020-06-17 09:50:36 +02:00