I'm trying to range index only ExpireDate property. I have written the following index. is it correct?
If I make automatic = false, I'm unable to query. However, my concern is that because automatic = true, all properties for all levels are indexed, which I dont want.
{
"indexingMode": "consistent",
"automatic": true,
"includedPaths": [
{
"path": "/ExpireDate/?",
"indexes": [
{
"kind": "Range",
"dataType": "Number",
"precision": -1
},
{
"kind": "Hash",
"dataType": "String",
"precision": 3
}
]
}
],
"excludedPaths": [
{
"path": "/"
}
]
}