Provides a lucene filter for access controlling