Updated search methods in Java bindings