search route now supports additional  query to specify whether stories, events, or entities are returned