News for hackers. Stuff that matters.

bergetp

Re:Supercharging the Elasticsearch Percolator 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'.