added logger for filter query and fixed term offsets not being indexed