在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
我认为区别在于 - 运算符可以单独使用,而 NOT 则不是这种情况。是这样吗?
java lucene operators
java ×1
lucene ×1
operators ×1