You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by rw...@apache.org on 2013/06/06 09:37:49 UTC
svn commit: r1490183 -
/stanbol/trunk/entityhub/indexing/core/src/main/java/org/apache/stanbol/entityhub/indexing/core/impl/IndexerImpl.java
Author: rwesten
Date: Thu Jun 6 07:37:49 2013
New Revision: 1490183
URL: http://svn.apache.org/r1490183
Log:
minor: the stream used to write the indexed EntityIds is now closed
Modified:
stanbol/trunk/entityhub/indexing/core/src/main/java/org/apache/stanbol/entityhub/indexing/core/impl/IndexerImpl.java
Modified: stanbol/trunk/entityhub/indexing/core/src/main/java/org/apache/stanbol/entityhub/indexing/core/impl/IndexerImpl.java
URL: http://svn.apache.org/viewvc/stanbol/trunk/entityhub/indexing/core/src/main/java/org/apache/stanbol/entityhub/indexing/core/impl/IndexerImpl.java?rev=1490183&r1=1490182&r2=1490183&view=diff
==============================================================================
--- stanbol/trunk/entityhub/indexing/core/src/main/java/org/apache/stanbol/entityhub/indexing/core/impl/IndexerImpl.java (original)
+++ stanbol/trunk/entityhub/indexing/core/src/main/java/org/apache/stanbol/entityhub/indexing/core/impl/IndexerImpl.java Thu Jun 6 07:37:49 2013
@@ -648,6 +648,8 @@ public class IndexerImpl implements Inde
errorEntityQueue, log));
//start indexing and wait until it has finished
startAndWait(activeIndexingDeamons);
+ //close the stream with IDs
+ IOUtils.closeQuietly(indexedEntityIdOutputStream);
//set the new state to INDEXED
setState(State.INDEXED);
}