Added TTL for analyzers

This commit is contained in:
Trial97
2020-10-26 18:20:57 +02:00
committed by Dan Christian Bogos
parent 08d4f1fc21
commit 6b60d49bf6
18 changed files with 159 additions and 74 deletions

View File

@@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
package v1
import (
"github.com/blevesearch/bleve/document"
"github.com/cgrates/cgrates/analyzers"
"github.com/cgrates/cgrates/utils"
)
@@ -46,6 +45,6 @@ func (aSv1 *AnalyzerSv1) Ping(ign *utils.CGREvent, reply *string) error {
return nil
}
func (aSv1 *AnalyzerSv1) Search(search string, reply *[]*document.Document) error {
func (aSv1 *AnalyzerSv1) Search(search string, reply *[]map[string]interface{}) error {
return aSv1.aS.V1Search(search, reply)
}