silverstripe-labs/silverstripe-fulltextsearch — pull request #25 by chillu (2013-06-17 15:22:09+00:00)
Title: Index Prefilter

We needed this as an effective way to filter indexed files. We could've done this through custom properties (`function getIsUsed() {return in_array(...);}` in addition to the more basic `ShowInSearch` flag. But it seemed wasteful to index all files, plus many Solr queries and property setups are more complex than the SS `DataQuery` API.