XOR operator

Updated: 12/31/2022 by Computer Hope

Short for eXclusive OR, the XOR operator is a Boolean operation used in database searches and other searches that returns a TRUE value only if a document contains only one match.

computer XOR help

In the example above, the command would return results of documents or a value containing either "computer" or "help". However, it would not return the results if the documents or value contains both words.

Boolean, Programming terms