for (int i = 0; i < (finalResult.length() -1); i++) {
JSONObject objects = finalResult.getJSONObject(i);
if ((uriInsert = updatedIndexer(objects)) != null) {
try {
for (int i = 0; i < (finalResult.length() -1); i++) {
JSONObject objects = finalResult.getJSONObject(i);
if ((uriInsert = updatedIndexer(objects)) != null) {
try {