Calling maybe merge after index import.
Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/ce2179ed Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/ce2179ed Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/ce2179ed Branch: refs/heads/master Commit: ce2179ed5cb5a534275678ad0982fef4e99fbb49 Parents: 5bc1b9e Author: Aaron McCurry <[email protected]> Authored: Tue Oct 28 21:26:13 2014 -0400 Committer: Aaron McCurry <[email protected]> Committed: Tue Oct 28 21:26:13 2014 -0400 ---------------------------------------------------------------------- .../src/main/java/org/apache/blur/manager/writer/IndexImporter.java | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/ce2179ed/blur-core/src/main/java/org/apache/blur/manager/writer/IndexImporter.java ---------------------------------------------------------------------- diff --git a/blur-core/src/main/java/org/apache/blur/manager/writer/IndexImporter.java b/blur-core/src/main/java/org/apache/blur/manager/writer/IndexImporter.java index 366713c..d441e53 100644 --- a/blur-core/src/main/java/org/apache/blur/manager/writer/IndexImporter.java +++ b/blur-core/src/main/java/org/apache/blur/manager/writer/IndexImporter.java @@ -193,6 +193,7 @@ public class IndexImporter extends TimerTask implements Closeable { @Override public void doPostCommit(IndexWriter writer) throws IOException { LOG.info("Import complete on [{0}/{1}]", _shard, _table); + writer.maybeMerge(); } @Override
