Unfortunately for text type you can't search out empty strings. You can use the exists
query and fetch all the document for which that field exists and perform an empty string comparison at the application layer.
You can take a look at a similar post here.