Skip to content

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

On negative result vote also delete document from fulltext index (not only from dht)

reger396ed3c769b0
diff --git a/htroot/yacysearch.java b/htroot/yacysearch.java
index 7c2f850ef..7c2b33dea 100644
--- a/htroot/yacysearch.java
+++ b/htroot/yacysearch.java
@@ -528,6 +528,7 @@ public class yacysearch {
// delete the index entry locally
final String delHash = post.get("deleteref", ""); // urlhash
if (indexSegment.termIndex() != null) indexSegment.termIndex().remove(qg.getIncludeHashes(), delHash.getBytes());
+ indexSegment.fulltext().remove(delHash.getBytes());
// make new news message with negative voting
if ( !sb.isRobinsonMode() ) {