Boolean Search: Harnessing AND, OR, and NOT Gates with Inverted Indexes