TRUNK-4366 Add filter method to LuceneQuery
TRUNK-4366 Follow up changes