On 9.1.14 4:29 , Alexander Klimetschek wrote:
Refitting the example to avoid the NPE and going through more cases:

     type:asset property:one OR property:two
        =>
     (type = asset) AND (property = one OR property = two)

     type:asset property:one OR property:two OR property:three
        =>
     (type = asset) AND (property = one OR property = two OR property = three)

     property:one OR property:two other:alpha OR other:beta
        =>
     (property = one OR property = two) AND (other = alpha OR other = beta)

Which would be a rather strange interpretation though. Usually AND has higher precedence than OR.

Michael

Reply via email to