public function setup() { $this->searchIn('books', 'books'); $this->set('query.bool.filter', [new TermQuery('year', 2014)]); }