Fixed search API in example