简体   繁体   English

如何搜索不存在特定字段的lucene索引?

[英]How do I search for a lucene index where a particular field does not exist?

I need to search for items where a lucene field does not exist. 我需要搜索不存在lucene字段的项目。 How do I do that ? 我怎么做 ?

我认为Lucene是不可能的,但是如果您选择使用SOLR,请尝试以下答案: 如何查询SOLR中的空字段?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM