sist2/schema/mappings.json
simon987 e436af7b2a
2.0 (#46)
* extract scan code to libscan, (wip)

* submodules

* replace curl with mongoose (wip)

* replace onion with mongoose (wip)

* replace onion with mongoose (wip)

* It compiles! (I think)

* Update readme

* Entirely remove libonion (WIP)

* unscramble submodules

* recover screenshot

* Update mappings

* Bug fixes

* update

* media meta fix

* memory fixes

* More bug fixes...

* Bug fix w/ libmagic & vfile

* libmagic fix (again)

* Better lightbox, better video handler, random reloads fix

* Use svg for info icon

* re-enable http auth

* mobi support #41, fix logs

* Update README & cleanup
2020-04-21 14:42:20 -04:00

149 lines
2.6 KiB
JSON

{
"properties": {
"_tie": {
"type": "keyword",
"doc_values": true
},
"_depth": {
"type": "integer"
},
"path": {
"type": "text",
"analyzer": "path_analyzer",
"fielddata": true,
"index_prefixes": {}
},
"mime": {
"type": "keyword"
},
"thumbnail": {
"type": "keyword",
"index": false
},
"videoc": {
"type": "keyword",
"index": false
},
"audioc": {
"type": "keyword",
"index": false
},
"duration": {
"type": "float",
"index": false
},
"width": {
"type": "integer",
"index": false
},
"height": {
"type": "integer",
"index": false
},
"mtime": {
"type": "integer"
},
"size": {
"type": "long"
},
"index": {
"type": "keyword"
},
"name": {
"analyzer": "content_analyzer",
"type": "text",
"fields": {
"nGram": {
"type": "text",
"analyzer": "my_nGram"
}
}
},
"font_name": {
"analyzer": "my_nGram",
"type": "text"
},
"album": {
"analyzer": "my_nGram",
"type": "text"
},
"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"
},
"_keyword.*": {
"type": "keyword"
},
"_text.*": {
"analyzer": "content_analyzer",
"type": "text",
"fields": {
"nGram": {
"type": "text",
"analyzer": "my_nGram"
}
}
},
"_url": {
"type": "keyword",
"index": false
},
"content": {
"analyzer": "content_analyzer",
"type": "text",
"index_options": "offsets",
"fields": {
"nGram": {
"type": "text",
"analyzer": "my_nGram"
}
}
},
"tag": {
"type": "keyword"
},
"exif_make": {
"type": "text"
},
"exif_model": {
"type": "text"
},
"exif:software": {
"type": "text"
},
"exif_exposure_time": {
"type": "keyword"
},
"exif_fnumber": {
"type": "keyword"
},
"exif_iso_speed_ratings": {
"type": "keyword"
},
"exif_focal_length": {
"type": "keyword"
},
"exif_user_comment": {
"type": "text"
},
"author": {
"type": "text"
},
"modified_by": {
"type": "text"
}
}
}