Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zhuliquan/es-mapping
Elasticsearch mapping utils
https://github.com/zhuliquan/es-mapping
elasticsearch mapping utils
Last synced: about 2 months ago
JSON representation
Elasticsearch mapping utils
- Host: GitHub
- URL: https://github.com/zhuliquan/es-mapping
- Owner: zhuliquan
- License: mit
- Created: 2024-01-14T11:32:21.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2024-05-10T16:16:46.000Z (8 months ago)
- Last Synced: 2024-06-21T20:08:18.735Z (7 months ago)
- Topics: elasticsearch, mapping, utils
- Language: Go
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# es-mapping
## description
this package is pure go package for ElasticSearch (ES)
## features
- mapping struct for es mapping (v6.8). our struct is good at dealing with same field with multi-type in es mapping json. (i.g. index field in es mapping, your can input `"true"` or `true`, our struct can be unmarshal with two json type)
- multi constant value for develop, i.g. meta unit type, field type, index options, metrics type, mapping type (dynamic or strict), similarity etc.
- multi multi utils func for develop, i.g. GetProperty (get property by field name), LoadMappingFile (get mapping struct from es mapping json file) etc.