Update docs for non-indexed match type filters

This commit is contained in:
armirveliaj
2025-07-11 04:56:47 -04:00
committed by Dan Christian Bogos
parent 379f467ff7
commit 319a4f9cf3
2 changed files with 17 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
#Tenant[0],ID[1],Type[2],Element[3],Values[4],ActivationInterval[5]
cgrates.org,NIFLTR_ACT_1001,*nistring,~*req.Account,1001,
cgrates.org,NIFLTR_PRF,*niprefix,~*req.Destination,10;20,
cgrates.org,NIFLTR_SFX,*nisuffix,~*req.Destination,01,2014-07-29T15:00:00Z
1 #Tenant[0] ID[1] Type[2] Element[3] Values[4] ActivationInterval[5]
2 cgrates.org NIFLTR_ACT_1001 *nistring ~*req.Account 1001
3 cgrates.org NIFLTR_PRF *niprefix ~*req.Destination 10;20
4 cgrates.org NIFLTR_SFX *nisuffix ~*req.Destination 01 2014-07-29T15:00:00Z

View File

@@ -54,18 +54,28 @@ The following types are implemented:
\*notstring
Is the negation of *\*string*.
\*nistring
Non-indexed version of *\*string*. Bypasses field indexing.
\*prefix
Will match at beginning of *Element* one of the values defined inside *Values*.
\*notprefix
Is the negation of *\*prefix*.
\*niprefix
Non-indexed version of *\*prefix*. Bypasses field indexing.
\*suffix
Will match at end of *Element* one of the values defined inside *Values*.
\*notsuffix*
Is the negation of *\*suffix*.
\*nisuffix*
Non-indexed version of *\*suffix*.. Bypasses field indexing.
\*empty
Will make sure that *Element* is empty or it does not exist in the event.
@@ -78,6 +88,9 @@ The following types are implemented:
\*notexists
Is the negation of *\*exists*.
\*niexists
Non-indexed version of *\*exists*. Bypasses field indexing.
\*timings
Will compare the time contained in *Element* with one of the TimingIDs defined in Values.