Revision: 7860
http://sourceforge.net/p/bigdata/code/7860
Author: mrpersonick
Date: 2014-02-20 16:37:21 +0000 (Thu, 20 Feb 2014)
Log Message:
-----------
fixed a bug where the full text query was not being interrupted properly
Modified Paths:
--------------
branches/BIGDATA_RELEASE_1_3_0/bigdata-rdf/src/java/com/bigdata/rdf/lexicon/BigdataValueCentricFullTextIndex.java
Modified: branches/BIGDATA_RELEASE_1_3_0/bigdata-rdf/src/java/com/bigdata/rdf/lexicon/BigdataValueCentricFullTextIndex.java
===================================================================
--- branches/BIGDATA_RELEASE_1_3_0/bigdata-rdf/src/java/com/bigdata/rdf/lexicon/BigdataValueCentricFullTextIndex.java 2014-02-20 16:19:41 UTC (rev 7859)
+++ branches/BIGDATA_RELEASE_1_3_0/bigdata-rdf/src/java/com/bigdata/rdf/lexicon/BigdataValueCentricFullTextIndex.java 2014-02-20 16:37:21 UTC (rev 7860)
@@ -423,6 +423,12 @@
for (Map.Entry<IV<?,?>, BigdataValue> e : terms.entrySet()) {
+ if (Thread.interrupted()) {
+
+ throw new RuntimeException(new InterruptedException());
+
+ }
+
final IV<?,?> iv = e.getKey();
final BigdataValue term = e.getValue();
@@ -488,6 +494,12 @@
for (Map.Entry<IV<?,?>, BigdataValue> e : terms.entrySet()) {
+ if (Thread.interrupted()) {
+
+ throw new RuntimeException(new InterruptedException());
+
+ }
+
final IV<?,?> iv = e.getKey();
final BigdataValue term = e.getValue();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|