We assume everything fits into memory on one machine.

Boolean Retrieval

A query in this case is formed using Boolean operators (AND, NOT). We match the set of documents for which the query is true.

To execute a Boolean query:

image.png

Term-At-A-Time

image.png

Document-At-A-Time

image.png