linkedin/sensei — pull request #86 by jhartman (2013-07-29 14:47:04+00:00)
Title: Adding the ability for sensei filters to estimate cardinality to optimize filter execution order

Adding the ability for sensei filters to estimate cardinality to optimize filter execution order and traverse fewer documents

I think an optimizer where available would be incredibly useful for the sensei filters. Right now ANDs just execute in whatever order they are given. Executing the lowest cardinality AND first could result in a large performance gain