forked from Mirrors/privacore-open-source-search-engine
Remove unused serp variables
This commit is contained in:
@ -551,7 +551,6 @@ class CollectionRec {
|
||||
int32_t m_summaryMode ;
|
||||
char m_deleteTimeouts ; // can delete docs that time out?
|
||||
char m_allowAdultDocs ;
|
||||
char m_doSerpDetection ;
|
||||
char m_useCanonicalRedirects ;
|
||||
|
||||
int32_t m_maxNumSpiders ; // per local spider host
|
||||
|
13
Parms.cpp
13
Parms.cpp
@ -10544,19 +10544,6 @@ void Parms::init ( ) {
|
||||
m->m_obj = OBJ_COLL;
|
||||
m++;
|
||||
|
||||
m->m_title = "do serp detection";
|
||||
m->m_desc = "If this is eabled the spider "
|
||||
"will not allow any docs which are determined to "
|
||||
"be serps.";
|
||||
m->m_cgi = "dsd";
|
||||
m->m_off = (char *)&cr.m_doSerpDetection - x;
|
||||
m->m_type = TYPE_BOOL;
|
||||
m->m_def = "1";
|
||||
m->m_page = PAGE_SPIDER;
|
||||
m->m_obj = OBJ_COLL;
|
||||
m->m_flags = PF_CLONE;
|
||||
m++;
|
||||
|
||||
m->m_title = "do IP lookup";
|
||||
m->m_desc = "If this is disabled and the proxy "
|
||||
"IP below is not zero then Gigablast will assume "
|
||||
|
2
Parms.h
2
Parms.h
@ -289,8 +289,6 @@ class Parm {
|
||||
#include "Xml.h"
|
||||
#include "SafeBuf.h"
|
||||
|
||||
struct SerParm;
|
||||
|
||||
class Parms {
|
||||
|
||||
public:
|
||||
|
@ -294,8 +294,6 @@ void XmlDoc::reset ( ) {
|
||||
|
||||
m_hashedMetas = false;
|
||||
|
||||
m_serpBuf.purge();
|
||||
|
||||
// Doc.cpp:
|
||||
m_mime.reset();
|
||||
m_words.reset();
|
||||
|
2
XmlDoc.h
2
XmlDoc.h
@ -1434,8 +1434,6 @@ public:
|
||||
SafeBuf m_pageLinkBuf;
|
||||
SafeBuf m_siteLinkBuf;
|
||||
|
||||
SafeBuf m_serpBuf;
|
||||
|
||||
// which set() function was called above to set us?
|
||||
bool m_setFromTitleRec;
|
||||
bool m_setFromSpiderRec;
|
||||
|
Reference in New Issue
Block a user