mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-22 23:58:44 +05:00
Updated filter indexing
This commit is contained in:
committed by
Dan Christian Bogos
parent
00cece8943
commit
0a75016833
22
data/conf/samples/attributesindexes_mongo/cgrates.json
Normal file
22
data/conf/samples/attributesindexes_mongo/cgrates.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
// CGRateS Configuration file
|
||||
// used in general_tests/attributes_filters_index_it_test.go
|
||||
"general": {
|
||||
"log_level": 7,
|
||||
},
|
||||
|
||||
"stor_db": {
|
||||
"db_password": "CGRateS.org"
|
||||
},
|
||||
|
||||
"admins": {
|
||||
"enabled": true,
|
||||
},
|
||||
|
||||
"attributes": {
|
||||
"enabled": true,
|
||||
"string_indexed_fields": [],
|
||||
"prefix_indexed_fields": ["*req.Subject"],
|
||||
},
|
||||
|
||||
}
|
||||
33
data/conf/samples/attributesindexes_mysql/cgrates.json
Normal file
33
data/conf/samples/attributesindexes_mysql/cgrates.json
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
// CGRateS Configuration file
|
||||
// used in general_tests/attributes_filters_index_it_test.go
|
||||
"general": {
|
||||
"log_level": 7,
|
||||
},
|
||||
|
||||
|
||||
"data_db": {
|
||||
"db_type": "mongo",
|
||||
"db_name": "10",
|
||||
"db_port": 27017,
|
||||
},
|
||||
|
||||
|
||||
"stor_db": {
|
||||
"db_type": "mongo",
|
||||
"db_name": "cgrates",
|
||||
"db_port": 27017,
|
||||
},
|
||||
|
||||
|
||||
"admins": {
|
||||
"enabled": true,
|
||||
},
|
||||
|
||||
"attributes": {
|
||||
"enabled": true,
|
||||
"string_indexed_fields": [],
|
||||
"prefix_indexed_fields": ["*req.Subject"],
|
||||
},
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user