Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

removed forced soft commit since this may be the cause for a performance problem

Michael Peter Christenffc570f95fb2
diff --git a/source/net/yacy/search/index/Segment.java b/source/net/yacy/search/index/Segment.java
index 447f96532..8abe8b42c 100644
--- a/source/net/yacy/search/index/Segment.java
+++ b/source/net/yacy/search/index/Segment.java
@@ -619,6 +619,7 @@ public class Segment {
// do a 'hard' commit to flush index caches
this.fulltext.commit(false);
} else {
+ /*
if (
(this.fulltext.getDefaultConfiguration().contains(CollectionSchema.exact_signature_l) && this.fulltext.getDefaultConfiguration().contains(CollectionSchema.exact_signature_unique_b)) ||
(this.fulltext.getDefaultConfiguration().contains(CollectionSchema.fuzzy_signature_l) && this.fulltext.getDefaultConfiguration().contains(CollectionSchema.fuzzy_signature_unique_b)) ||
@@ -627,6 +628,7 @@ public class Segment {
) {
this.fulltext.getDefaultConnector().commit(true); // make sure that we have latest information for the postprocessing steps
}
+ */
}
// CREATE INDEX