Skip to content

Instantly share code, notes, and snippets.

Avatar

Akshay Deep akkisna

  • Roorkee, India
View GitHub Profile
View schema.js
'use strict';
.......
"descriptors": {
"properties": {
"english": {
"properties": {
"description": standardTypes.ENGLISH_TEXT,
"name": standardTypes.ENGLISH_TEXT
}
},
View standard-types.js
const standardTypes = {
'KEYWORD_ASCII': {
'type': 'keyword',
'ignore_above': 256
},
'STANDARD_TEXT': {
'type': 'text',
'analyzer': 'standard'
},
'ENGLISH_TEXT': {