How to implement Field Does Not Exist at Lucene?

Apache Lucene is a core for many search engines and naturally supports queries like Field Exists for static fields. For example, Lucene query "field_name:*" will return all documents that have field_name, any value. But there is no way to query: "-field_name:*" and hence there is no natural support for Field Does Not Exist. If application's search engine … Continue reading How to implement Field Does Not Exist at Lucene?