Incapsulated queryBuilder in Search