News for hackers. Stuff that matters.
Re:Supercharging the Elasticsearch Percolator by rchakra3 on Thursday October 15, 2015 @01:15PM (#10394445)
Can you explain how a positional query is a subset of boolean queries?

Intuitively it feels like the reverse would be true.

Re:Supercharging the Elasticsearch Percolator by bergetp on Thursday October 15, 2015 @02:50PM (#10395147)
You're right, but the point here is that positional queries are boolean queries plus positions. For example, document that match 'a NEAR b' are a subset of documents matching 'a AND b'. So if 'a AND b' has no matches, there is no need to execute the more expensive 'a NEAR b'.