explicitly throw error on using search