update elasticsearch mappings

This commit is contained in:
Shinsuke Sugaya 2017-02-02 18:11:50 +09:00
parent 0ffa5564cd
commit e828dbdee1
3 changed files with 40 additions and 80 deletions

View file

@ -8,8 +8,7 @@
},
"properties": {
"name": {
"type": "string",
"index": "not_analyzed"
"type": "keyword"
},
"gidNumber" : {
"type" : "long"

View file

@ -8,8 +8,7 @@
},
"properties": {
"name": {
"type": "string",
"index": "not_analyzed"
"type": "keyword"
}
}
}

View file

@ -8,144 +8,109 @@
},
"properties": {
"name": {
"type": "string",
"index": "not_analyzed"
"type": "keyword"
},
"password": {
"type": "string",
"index": "not_analyzed"
"type": "keyword"
},
"surname": {
"type": "string",
"index": "not_analyzed"
"type": "keyword"
},
"givenName": {
"type": "string",
"index": "not_analyzed"
"type": "keyword"
},
"employeeNumber" : {
"type" : "string",
"index" : "not_analyzed"
"type" : "keyword"
},
"mail" : {
"type" : "string",
"index" : "not_analyzed"
"type" : "keyword"
},
"telephoneNumber" : {
"type" : "string",
"index" : "not_analyzed"
"type" : "keyword"
},
"homePhone" : {
"type" : "string",
"index" : "not_analyzed"
"type" : "keyword"
},
"homePostalAddress" : {
"type" : "string",
"index" : "not_analyzed"
"type" : "keyword"
},
"labeledURI" : {
"type" : "string",
"index" : "not_analyzed"
"type" : "keyword"
},
"roomNumber" : {
"type" : "string",
"index" : "not_analyzed"
"type" : "keyword"
},
"description" : {
"type" : "string",
"index" : "not_analyzed"
"type" : "keyword"
},
"title" : {
"type" : "string",
"index" : "not_analyzed"
"type" : "keyword"
},
"pager" : {
"type" : "string",
"index" : "not_analyzed"
"type" : "keyword"
},
"street" : {
"type" : "string",
"index" : "not_analyzed"
"type" : "keyword"
},
"postalCode" : {
"type" : "string",
"index" : "not_analyzed"
"type" : "keyword"
},
"physicalDeliveryOfficeName" : {
"type" : "string",
"index" : "not_analyzed"
"type" : "keyword"
},
"destinationIndicator" : {
"type" : "string",
"index" : "not_analyzed"
"type" : "keyword"
},
"internationaliSDNNumber" : {
"type" : "string",
"index" : "not_analyzed"
"type" : "keyword"
},
"state" : {
"type" : "string",
"index" : "not_analyzed"
"type" : "keyword"
},
"employeeType" : {
"type" : "string",
"index" : "not_analyzed"
"type" : "keyword"
},
"facsimileTelephoneNumber" : {
"type" : "string",
"index" : "not_analyzed"
"type" : "keyword"
},
"postOfficeBox" : {
"type" : "string",
"index" : "not_analyzed"
"type" : "keyword"
},
"initials" : {
"type" : "string",
"index" : "not_analyzed"
"type" : "keyword"
},
"carLicense" : {
"type" : "string",
"index" : "not_analyzed"
"type" : "keyword"
},
"mobile" : {
"type" : "string",
"index" : "not_analyzed"
"type" : "keyword"
},
"postalAddress" : {
"type" : "string",
"index" : "not_analyzed"
"type" : "keyword"
},
"city" : {
"type" : "string",
"index" : "not_analyzed"
"type" : "keyword"
},
"teletexTerminalIdentifier" : {
"type" : "string",
"index" : "not_analyzed"
"type" : "keyword"
},
"x121Address" : {
"type" : "string",
"index" : "not_analyzed"
"type" : "keyword"
},
"businessCategory" : {
"type" : "string",
"index" : "not_analyzed"
"type" : "keyword"
},
"registeredAddress" : {
"type" : "string",
"index" : "not_analyzed"
"type" : "keyword"
},
"displayName" : {
"type" : "string",
"index" : "not_analyzed"
"type" : "keyword"
},
"preferredLanguage" : {
"type" : "string",
"index" : "not_analyzed"
"type" : "keyword"
},
"departmentNumber" : {
"type" : "string",
"index" : "not_analyzed"
"type" : "keyword"
},
"uidNumber" : {
"type" : "long"
@ -154,16 +119,13 @@
"type" : "long"
},
"homeDirectory" : {
"type" : "string",
"index" : "not_analyzed"
"type" : "keyword"
},
"groups": {
"type": "string",
"index": "not_analyzed"
"type": "keyword"
},
"roles": {
"type": "string",
"index": "not_analyzed"
"type": "keyword"
}
}
}