Decoupled free text search implementation from discovery API module