Finished path search & autocomplete. Added font parsing

This commit is contained in:
simon987
2018-04-16 17:25:34 -04:00
parent b454653d51
commit 6d3cceb1b1
15 changed files with 124 additions and 41 deletions

View File

@@ -86,7 +86,8 @@ class Indexer:
"artist": {"analyzer": "my_nGram", "type": "text"},
"title": {"analyzer": "my_nGram", "type": "text"},
"genre": {"analyzer": "my_nGram", "type": "text"},
"album_artist": {"analyzer": "my_nGram", "type": "text"}
"album_artist": {"analyzer": "my_nGram", "type": "text"},
"font_name": {"analyzer": "my_nGram", "type": "text"},
}}, doc_type="file", index=self.index_name)
self.es.indices.open(index=self.index_name)