silverstripe-labs/silverstripe-fulltextsearch — pull request #24 by chillu (2013-06-17 15:11:27+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.