Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PUT json/try/1
- {
- "name":"rajesh",
- "emp id":236947,
- "dob":"28-02-1989"
- }
- PUT /json/try/_mapping
- {
- "dob": {
- "type" : "date",
- "format" : "dd-mm-yyyy"}
- }
- PUT json/try/_mapping
- {
- "try":{
- "properties": {
- "dob":{
- "type": "date"
- , "format": "date"
- }
- }
- }
- }`
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement