This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"match_title": "Santos (SAN) X Avaí FC (AVAI) - Canindé (São Paulo-SP)", | |
"match_start": "2017-05-13T13:00:00", | |
"is_adult": false | |
}, | |
{ | |
"match_title": "Grêmio (GRE) X Corinthians (COR) - Pacaembu (São Paulo-SP)", | |
"match_start": "2017-05-23T17:30:00", | |
"is_adult": false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"settings": { | |
"analysis": { | |
"analyzer": { | |
"title_default_analyzer": { | |
"type": "custom", | |
"tokenizer": "title_tokenizer", | |
"filter": [ | |
"lowercase", | |
"brazilian_filter", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"size": 1000, | |
"sort": [ | |
{ | |
"match_start": { | |
"order": "asc" | |
} | |
} | |
], | |
"query": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PUT idxsearch/ | |
{ | |
"settings": { | |
"analysis": { | |
"analyzer": { | |
"default_us_analyzer": { | |
"type": "custom", | |
"tokenizer": "standard", | |
"filter": ["us_stop", "stemmer_us_filter", "lowercase", "asciifolding"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using EP.MailWorker.Services; | |
using EP.Platform.ML; | |
using EP.Platform.Utilities; | |
using Newtonsoft.Json; | |
using RabbitMQ.Client; | |
using RabbitMQ.Client.Events; | |
using Serilog; | |
using System; | |
using System.Collections; | |
using System.Collections.Concurrent; |