next up previous contents
Next: unset Up: flowbits Previous: set   Contents

setx

This keyword sets bits to group exclusively. This clears other bits in group. Group must present.This keyword always returns true.
Syntax:
    flowbits:setx,bats,group
Usage:  
    flowbits: setx, bit1, doc
    flowbits: setx, bit2&bit3, doc
    First rule sets bit1 in doc group, second rule sets bit2 and bit3 in doc group.
    So doc group has bit2 and bit3 set, because bit1 is cleared by rule 2.



Eugene Misnik 2013-05-08