Skip to content

Commit

Permalink
refresh param to bulk not working, closes elastic#614.
Browse files Browse the repository at this point in the history
  • Loading branch information
kimchy committed Jan 28, 2011
1 parent 96e4d8d commit 116beae
Showing 1 changed file with 7 additions and 7 deletions.
Expand Up @@ -232,15 +232,15 @@ public class RobinEngine extends AbstractIndexShardComponent implements Engine,
break;
}
}
if (bulk.refresh()) {
try {
refresh(new Refresh(false));
} catch (Exception e) {
//ignore
}
}
}
dirty = true;
if (bulk.refresh()) {
try {
refresh(new Refresh(false));
} catch (Exception e) {
//ignore
}
}
} finally {
rwl.readLock().unlock();
}
Expand Down

0 comments on commit 116beae

Please sign in to comment.