小编use*_*999的帖子

Lucene 中的 - 和 NOT 运算符有什么区别?

Lucene查询语法中是这样说的:

The NOT operator excludes documents that contain the term after NOT.
...
The "-" or prohibit operator excludes documents that contain 
the term after the "-" symbol
Run Code Online (Sandbox Code Playgroud)

我认为区别在于 - 运算符可以单独使用,而 NOT 则不是这种情况。是这样吗?

java lucene operators

5
推荐指数
1
解决办法
4174
查看次数

标签 统计

java ×1

lucene ×1

operators ×1