solr search for documents where a field doesn't exist
-
09-10-2019 - |
Question
How do I search for those document in a SOLR index which do not contain a specified field?
Solution
-field:[* TO *]
In SolrNet, use a negated SolrHasValueQuery
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow