Hi everyone, I'm beginner and i have a question. I created a index which contains some documents. But there are no any hits when i search the documents with the below query.
Then, I deleted the date condition,and the below screenshot is the result of the new query.
so,why i can't use the range?
this is mappings
{
"mapping": {
"properties": {
"bf_info": {
"type": "text"
},
"build": {
"type": "text"
},
"deviceName": {
"type": "text"
},
"deviceType": {
"type": "text"
},
"deviceUniqueIdentifier": {
"type": "text"
},
"doc": {
"properties": {
"bf_info": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"build": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"deviceName": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"deviceType": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"deviceUniqueIdentifier": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"graphicsDeviceName": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"graphicsDeviceVendor": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"graphicsMemorySize": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"graphicsPixelFillrate": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"id": {
"type": "long"
},
"language": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"loadedLevelName": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"maxTextureSize": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"message": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"operatingSystem": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"platform": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"playerId": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"processorCount": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"processorType": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"resolutionHeight": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"resolutionWidth": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"serverIP": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"serverId": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"server_date": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"stack": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"systemMemorySize": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"timestamp": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"unityVersion": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"version": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}
}
},
"graphicsDeviceName": {
"type": "text"
},
"graphicsDeviceVendor": {
"type": "text"
},
"graphicsMemorySize": {
"type": "text"
},
"graphicsPixelFillrate": {
"type": "text"
},
"id": {
"type": "integer"
},
"language": {
"type": "text"
},
"loadedLevelName": {
"type": "text"
},
"maxTextureSize": {
"type": "text"
},
"message": {
"type": "text"
},
"operatingSystem": {
"type": "text"
},
"platform": {
"type": "text"
},
"playerId": {
"type": "text"
},
"processorCount": {
"type": "text"
},
"processorType": {
"type": "text"
},
"resolutionHeight": {
"type": "text"
},
"resolutionWidth": {
"type": "text"
},
"serverIP": {
"type": "text"
},
"serverId": {
"type": "text"
},
"server_date": {
"type": "date",
"format": "yyyy-MM-dd HH:mm:ss"
},
"stack": {
"type": "text"
},
"systemMemorySize": {
"type": "text"
},
"timestamp": {
"type": "integer"
},
"unityVersion": {
"type": "text"
},
"version": {
"type": "text"
}
}
}
}