Moved apply of index triggers when getting Lucene query. The facet query...

... codepath now also triggers the custom trigger.