Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
fix NPE in Condenser, discovered by calling IndexControlRWI, "Word Deletion" with "for every resolvable and deleted URL reference"
reger40133ba2d0d6
diff --git a/source/net/yacy/document/Condenser.java b/source/net/yacy/document/Condenser.javaindex 76f432e9a..bf0344a2b 100644--- a/source/net/yacy/document/Condenser.java+++ b/source/net/yacy/document/Condenser.java@@ -222,22 +222,16 @@ public final class Condenser {document.addMetatags(this.tags);}+ // create the synonyms setif (synlib != null && synlib.size() > 0) {for (String word: this.words.keySet()) {Set<String> syms = synlib.getSynonyms(word);if (syms != null) this.synonyms.addAll(syms);}}+String text = document.getTextString();-- // create the synonyms set- if (synonyms != null && synlib.size() > 0) {- for (String word: this.words.keySet()) {- Set<String> syms = synlib.getSynonyms(word);- if (syms != null) this.synonyms.addAll(syms);- }- }-+// create hashes for duplicate detection// check dups with http://localhost:8090/solr/select?q=*:*&start=0&rows=3&fl=sku,fuzzy_signature_text_t,fuzzy_signature_l,fuzzy_signature_unique_bEnhancedTextProfileSignature fuzzySignatureFactory = new EnhancedTextProfileSignature();