mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Add infrastructure for *suffix filter indexes
This commit is contained in:
committed by
Dan Christian Bogos
parent
3ec344bdf1
commit
05e2377d3c
@@ -75,6 +75,7 @@ func (alS *AttributeService) attributeProfileForEvent(args *AttrArgsProcessEvent
|
||||
aPrflIDs, err := MatchingItemIDsForEvent(evNm,
|
||||
alS.cgrcfg.AttributeSCfg().StringIndexedFields,
|
||||
alS.cgrcfg.AttributeSCfg().PrefixIndexedFields,
|
||||
alS.cgrcfg.AttributeSCfg().SuffixIndexedFields,
|
||||
alS.dm, utils.CacheAttributeFilterIndexes, attrIdxKey,
|
||||
alS.cgrcfg.AttributeSCfg().IndexedSelects,
|
||||
alS.cgrcfg.AttributeSCfg().NestedFields,
|
||||
@@ -86,6 +87,7 @@ func (alS *AttributeService) attributeProfileForEvent(args *AttrArgsProcessEvent
|
||||
if aPrflIDs, err = MatchingItemIDsForEvent(evNm,
|
||||
alS.cgrcfg.AttributeSCfg().StringIndexedFields,
|
||||
alS.cgrcfg.AttributeSCfg().PrefixIndexedFields,
|
||||
alS.cgrcfg.AttributeSCfg().SuffixIndexedFields,
|
||||
alS.dm, utils.CacheAttributeFilterIndexes,
|
||||
utils.ConcatenatedKey(args.Tenant, utils.META_ANY),
|
||||
alS.cgrcfg.AttributeSCfg().IndexedSelects,
|
||||
|
||||
Reference in New Issue
Block a user