field_xor

Searches for documents containing applications of a specified field to one, but not both of two specified terms.

Syntax

[ xor: <field_set> <field_set> ]

Parameters

Parameter Description
<field_set> A set of terms or Boolean operations with terms.
<field_set> A set of terms or Boolean operations with terms.

Remarks

None

Example

[field , animals [xor : electricity magnetism]]

See Also

field_set