How to OR null value in Apache Solr query?
(-name:[* TO *] AND *:*) OR name:john
You can also use it like this.
&fq=name:john OR !name:['' TO *]
(-name:[* TO *] AND *:*) OR name:john
You can also use it like this.
&fq=name:john OR !name:['' TO *]