在query syntax of Lucene這是說以下內容:Lucene中 - 和NOT運算符有什麼區別?
The NOT operator excludes documents that contain the term after NOT.
...
The "-" or prohibit operator excludes documents that contain
the term after the "-" symbol
我覺得不同的是, - 操作者可以單獨使用,這是不是並非如此。是嗎?
爲了防止鏈接過時(或任何SO術語),您應該將從鏈接回答問題的重要部分複製到您的答案中。 – Dirk 2015-10-20 02:14:45