Fixed the string() code literal in the java client index api.