AzureSearch - query for missing/null json elements
Deanna Delapasse
1
Reputation point
I have indexed documents with a "MetadataFields" key whose values are json.
"MetadataFields": "{\"continent\":\"north america\",\"country\":\"united states\",\"region\":\"x34\",\"tagnumber\":\"abc-123\"}
I'm able to search for a specific match in Search Explorer using
MetadataFields/tagnumber:abc-123
But I cannot figure out how to find documents where this attribute is null or missing. Is this possible? What is the proper syntax?
Sign in to answer