Boolean queries added to doc