- exclusion on index-level (not only from search snippets)
- exclusion hand-over at remote search protocol
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3556 6c8d7289-2bf4-0310-a012-ef5d649a1542
// final String youare = post.get("youare", ""); // seed hash of the target peer, used for testing network stability
// final String youare = post.get("youare", ""); // seed hash of the target peer, used for testing network stability
finalStringkey=post.get("key","");// transmission key for response
finalStringkey=post.get("key","");// transmission key for response
finalStringquery=post.get("query","");// a string of word hashes that shall be searched and combined
finalStringquery=post.get("query","");// a string of word hashes that shall be searched and combined
finalStringexclude=post.get("exclude","");// a string of word hashes that shall not be within the search result
Stringurls=post.get("urls","");// a string of url hashes that are preselected for the search: no other may be returned
Stringurls=post.get("urls","");// a string of url hashes that are preselected for the search: no other may be returned
Stringabstracts=post.get("abstracts","");// a string of word hashes for abstracts that shall be generated, or 'auto' (for maxcount-word), or '' (for none)
Stringabstracts=post.get("abstracts","");// a string of word hashes for abstracts that shall be generated, or 'auto' (for maxcount-word), or '' (for none)
// final String fwdep = post.get("fwdep", ""); // forward depth. if "0" then peer may NOT ask another peer for more results
// final String fwdep = post.get("fwdep", ""); // forward depth. if "0" then peer may NOT ask another peer for more results
@ -96,7 +96,7 @@ public final class plasmaSearchEvent extends Thread implements Runnable {
this.snippetCache=snippetCache;
this.snippetCache=snippetCache;
this.rcContainers=wordIndex.emptyContainer(null);
this.rcContainers=wordIndex.emptyContainer(null);
this.rcContainerFlushCount=0;
this.rcContainerFlushCount=0;
this.rcAbstracts=(query.size()>1)?newTreeMap():null;// generate abstracts only for combined searches
this.rcAbstracts=(query.queryHashes.size()>1)?newTreeMap():null;// generate abstracts only for combined searches
this.profileLocal=localTiming;
this.profileLocal=localTiming;
this.profileGlobal=remoteTiming;
this.profileGlobal=remoteTiming;
this.postsort=postsort;
this.postsort=postsort;
@ -151,12 +151,12 @@ public final class plasmaSearchEvent extends Thread implements Runnable {
log.logFine("STARTING "+fetchpeers+" THREADS TO CATCH EACH "+profileGlobal.getTargetCount(plasmaSearchTimingProfile.PROCESS_POSTSORT)+" URLs WITHIN "+(profileGlobal.duetime()/1000)+" SECONDS");
log.logFine("STARTING "+fetchpeers+" THREADS TO CATCH EACH "+profileGlobal.getTargetCount(plasmaSearchTimingProfile.PROCESS_POSTSORT)+" URLs WITHIN "+(profileGlobal.duetime()/1000)+" SECONDS");
if((containers.size()!=0)&&(containers.size()<query.size()))containers=newHashMap();// prevent that only a subset is returned
if((inclusionContainers.size()!=0)&&(inclusionContainers.size()<query.queryHashes.size()))inclusionContainers=newHashMap();// prevent that only a subset is returned