Replaced troublesome pyes integration with direct calls made to elasticsearch rest api

This commit is contained in:
Slater-Victoroff
2013-06-06 08:56:16 -04:00
parent d1be90bbc4
commit 3b165da170
5 changed files with 165 additions and 15 deletions

View File

@@ -0,0 +1,36 @@
{
"analyzer": {
"transcript_analyzer": {
"type": "custom",
"tokenizer": "standard",
"filter": ["protected", "asciifolding", "custom_word_delimiter", "lowercase", "custom_stemmer", "shingle"],
"char_filter": ["custom_mapping"]
}
},
"filter" : {
"custom_word_delimiter":{
"type": "word_delimiter",
"preserve_original": "true"
},
"custom_stemmer": {
"type": "stemmer",
"name": "english"
},
"protected": {
"type": "keyword_marker",
"keywords_path": "protectedWords.txt"
}
},
"char_filter": {
"custom_mapping": {
"type": "mapping",
"mappings": ["\n=>-"]
}
}
}