> *:* AND -fieldX:[* TO *] - returns 0 docs > > fieldX:(a*) - return docs, so I'm sure that there's docs > with this field filled. > > Any other ideias what could be wrong?
There is not wrong in this scenario. If -fieldX:[* TO *] returns 0 docs, it means that all of your documents have that fieldX filled. Therefore fieldX:[* TO *] returns all of your dataset same as *:*