2008-08-02 15:57:00 +02:00
// plasmaSwitchboardConstants.java
// (C) 2004-2007 by Michael Peter Christen; mc@yacy.net, Frankfurt a. M., Germany
// first published 30.07.2008 on http://yacy.net
//
// This is a part of YaCy, a peer-to-peer based web search engine
//
2009-09-05 22:41:21 +02:00
// $LastChangedDate$
// $LastChangedRevision$
// $LastChangedBy$
2008-08-02 15:57:00 +02:00
//
// LICENSE
2011-07-04 18:35:30 +02:00
//
2008-08-02 15:57:00 +02:00
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
2011-09-25 18:59:06 +02:00
package net.yacy.search ;
2008-08-02 15:57:00 +02:00
2011-05-05 02:25:14 +02:00
import net.yacy.kelondro.util.MapTools ;
2012-09-21 15:48:16 +02:00
import net.yacy.server.http.RobotsTxtConfig ;
2008-08-02 15:57:00 +02:00
/ * *
* @author danielr
*
* /
2009-07-19 22:37:44 +02:00
public final class SwitchboardConstants {
2008-08-02 15:57:00 +02:00
2011-05-05 02:25:14 +02:00
/ * *
* < p > < code > public static final String < strong > ADMIN_ACCOUNT_B64MD5 < / strong > = " adminAccountBase64MD5 " < / code > < / p >
* < p > Name of the setting holding the authentication hash for the static < code > admin < / code > - account . It is calculated
* by first encoding < code > username : password < / code > as Base64 and hashing it using { @link MapTools # encodeMD5Hex ( String ) } . < / p >
* /
public static final String ADMIN_ACCOUNT_B64MD5 = " adminAccountBase64MD5 " ;
2011-07-04 18:35:30 +02:00
2008-08-02 15:57:00 +02:00
public static final int CRAWLJOB_SYNC = 0 ;
public static final int CRAWLJOB_STATUS = 1 ;
// 20_dhtdistribution
/ * *
* < p > < code > public static final String < strong > INDEX_DIST < / strong > = " 20_dhtdistribution " < / code > < / p >
* < p > Name of the DHT distribution thread , which selects index chunks and transfers them to other peers
* according to the global DHT rules < / p >
* /
public static final String INDEX_DIST = " 20_dhtdistribution " ;
public static final String INDEX_DIST_METHOD_START = " dhtTransferJob " ;
public static final String INDEX_DIST_METHOD_JOBCOUNT = null ;
public static final String INDEX_DIST_METHOD_FREEMEM = null ;
public static final String INDEX_DIST_MEMPREREQ = " 20_dhtdistribution_memprereq " ;
public static final String INDEX_DIST_IDLESLEEP = " 20_dhtdistribution_idlesleep " ;
public static final String INDEX_DIST_BUSYSLEEP = " 20_dhtdistribution_busysleep " ;
// 30_peerping
/ * *
* < p > < code > public static final String < strong > PEER_PING < / strong > = " 30_peerping " < / code > < / p >
* < p > Name of the Peer Ping thread which publishes the own peer and retrieves information about other peers
* connected to the YaCy - network < / p >
* /
public static final String PEER_PING = " 30_peerping " ;
public static final String PEER_PING_METHOD_START = " peerPing " ;
public static final String PEER_PING_METHOD_JOBCOUNT = null ;
public static final String PEER_PING_METHOD_FREEMEM = null ;
public static final String PEER_PING_IDLESLEEP = " 30_peerping_idlesleep " ;
public static final String PEER_PING_BUSYSLEEP = " 30_peerping_busysleep " ;
// 40_peerseedcycle
/ * *
* < p > < code > public static final String < strong > SEED_UPLOAD < / strong > = " 40_peerseedcycle " < / code > < / p >
* < p > Name of the seed upload thread , providing the so - called seed - lists needed during bootstrapping < / p >
* /
public static final String SEED_UPLOAD = " 40_peerseedcycle " ;
public static final String SEED_UPLOAD_METHOD_START = " publishSeedList " ;
public static final String SEED_UPLOAD_METHOD_JOBCOUNT = null ;
public static final String SEED_UPLOAD_METHOD_FREEMEM = null ;
public static final String SEED_UPLOAD_IDLESLEEP = " 40_peerseedcycle_idlesleep " ;
public static final String SEED_UPLOAD_BUSYSLEEP = " 40_peerseedcycle_busysleep " ;
// 50_localcrawl
/ * *
* < p > < code > public static final String < strong > CRAWLJOB_LOCAL_CRAWL < / strong > = " 50_localcrawl " < / code > < / p >
* < p > Name of the local crawler thread , popping one entry off the Local Crawl Queue , and passing it to the
* proxy cache enqueue thread to download and further process it < / p >
2011-07-04 18:35:30 +02:00
*
2009-07-19 22:37:44 +02:00
* @see Switchboard # PROXY_CACHE_ENQUEUE
2008-08-02 15:57:00 +02:00
* /
public static final String CRAWLJOB_LOCAL_CRAWL = " 50_localcrawl " ;
public static final String CRAWLJOB_LOCAL_CRAWL_METHOD_START = " coreCrawlJob " ;
public static final String CRAWLJOB_LOCAL_CRAWL_METHOD_JOBCOUNT = " coreCrawlJobSize " ;
public static final String CRAWLJOB_LOCAL_CRAWL_METHOD_FREEMEM = null ;
public static final String CRAWLJOB_LOCAL_CRAWL_IDLESLEEP = " 50_localcrawl_idlesleep " ;
public static final String CRAWLJOB_LOCAL_CRAWL_BUSYSLEEP = " 50_localcrawl_busysleep " ;
2008-09-10 14:52:17 +02:00
// 60_remotecrawlloader
2008-08-02 15:57:00 +02:00
/ * *
* < p > < code > public static final String < strong > CRAWLJOB_REMOTE_CRAWL_LOADER < / strong > = " 60_remotecrawlloader " < / code > < / p >
* < p > Name of the remote crawl list loading thread < / p >
2011-07-04 18:35:30 +02:00
*
2009-07-19 22:37:44 +02:00
* @see Switchboard # CRAWLJOB_REMOTE_CRAWL_LOADER
2008-08-02 15:57:00 +02:00
* /
public static final String CRAWLJOB_REMOTE_CRAWL_LOADER = " 60_remotecrawlloader " ;
public static final String CRAWLJOB_REMOTE_CRAWL_LOADER_METHOD_START = " remoteCrawlLoaderJob " ;
public static final String CRAWLJOB_REMOTE_CRAWL_LOADER_METHOD_JOBCOUNT = null ;
public static final String CRAWLJOB_REMOTE_CRAWL_LOADER_METHOD_FREEMEM = null ;
public static final String CRAWLJOB_REMOTE_CRAWL_LOADER_IDLESLEEP = " 60_remotecrawlloader_idlesleep " ;
public static final String CRAWLJOB_REMOTE_CRAWL_LOADER_BUSYSLEEP = " 60_remotecrawlloader_busysleep " ;
// 62_remotetriggeredcrawl
/ * *
* < p > < code > public static final String < strong > CRAWLJOB_REMOTE_TRIGGERED_CRAWL < / strong > = " 62_remotetriggeredcrawl " < / code > < / p >
* < p > Name of the remote triggered crawl thread , responsible for processing a remote crawl received from another peer < / p >
* /
public static final String CRAWLJOB_REMOTE_TRIGGERED_CRAWL = " 62_remotetriggeredcrawl " ;
public static final String CRAWLJOB_REMOTE_TRIGGERED_CRAWL_METHOD_START = " remoteTriggeredCrawlJob " ;
public static final String CRAWLJOB_REMOTE_TRIGGERED_CRAWL_METHOD_JOBCOUNT = " remoteTriggeredCrawlJobSize " ;
public static final String CRAWLJOB_REMOTE_TRIGGERED_CRAWL_METHOD_FREEMEM = null ;
public static final String CRAWLJOB_REMOTE_TRIGGERED_CRAWL_IDLESLEEP = " 62_remotetriggeredcrawl_idlesleep " ;
public static final String CRAWLJOB_REMOTE_TRIGGERED_CRAWL_BUSYSLEEP = " 62_remotetriggeredcrawl_busysleep " ;
2013-03-02 10:25:52 +01:00
// 70_surrogates
2008-08-02 15:57:00 +02:00
/ * *
2009-07-17 15:59:21 +02:00
* < p > < code > public static final String < strong > SURROGATES < / strong > = " 70_surrogates " < / code > < / p >
2013-03-02 10:25:52 +01:00
* < p > A thread that polls the SURROGATES path and puts all Documents in one surrogate file into the indexing queue . < / p >
2008-08-02 15:57:00 +02:00
* /
2009-07-17 15:59:21 +02:00
public static final String SURROGATES = " 70_surrogates " ;
public static final String SURROGATES_MEMPREREQ = " 70_surrogates_memprereq " ;
public static final String SURROGATES_IDLESLEEP = " 70_surrogates_idlesleep " ;
public static final String SURROGATES_BUSYSLEEP = " 70_surrogates_busysleep " ;
public static final String SURROGATES_METHOD_START = " surrogateProcess " ;
public static final String SURROGATES_METHOD_JOBCOUNT = " surrogateQueueSize " ;
public static final String SURROGATES_METHOD_FREEMEM = " surrogateFreeMem " ;
2013-03-02 10:25:52 +01:00
// 80_search_result_processing
/ * *
* < p > < code > public static final String < strong > SEARCHRESULT < / strong > = " 80_searchresult " < / code > < / p >
* < p > A thread that stores search results from other peers into the own index . < / p >
* /
public static final String SEARCHRESULT = " 80_searchresult " ;
public static final String SEARCHRESULT_MEMPREREQ = " 80_searchresult_memprereq " ;
public static final String SEARCHRESULT_IDLESLEEP = " 80_searchresult_idlesleep " ;
public static final String SEARCHRESULT_BUSYSLEEP = " 80_searchresult_busysleep " ;
public static final String SEARCHRESULT_METHOD_START = " searchresultProcess " ;
public static final String SEARCHRESULT_METHOD_JOBCOUNT = " searchresultQueueSize " ;
public static final String SEARCHRESULT_METHOD_FREEMEM = " searchresultFreeMem " ;
2008-08-02 15:57:00 +02:00
// 90_cleanup
/ * *
* < p > < code > public static final String < strong > CLEANUP < / strong > = " 90_cleanup " < / code > < / p >
2011-07-04 18:35:30 +02:00
* < p > The cleanup thread which is responsible for pendant cleanup - jobs , news / ranking distribution , etc . < / p >
2008-08-02 15:57:00 +02:00
* /
public static final String CLEANUP = " 90_cleanup " ;
public static final String CLEANUP_METHOD_START = " cleanupJob " ;
public static final String CLEANUP_METHOD_JOBCOUNT = " cleanupJobSize " ;
public static final String CLEANUP_METHOD_FREEMEM = null ;
public static final String CLEANUP_IDLESLEEP = " 90_cleanup_idlesleep " ;
public static final String CLEANUP_BUSYSLEEP = " 90_cleanup_busysleep " ;
/ * *
* < p > < code > public static final String < strong > RAM_CACHE_LURL < / strong > = " ramCacheLURL " < / code > < / p >
* < p > Name of the setting how much memory in bytes should be assigned to the Loaded URLs DB for caching purposes < / p >
* /
public static final String RAM_CACHE_LURL_TIME = " ramCacheLURL_time " ;
/ * *
* < p > < code > public static final String < strong > RAM_CACHE_NURL < / strong > = " ramCacheNURL " < / code > < / p >
* < p > Name of the setting how much memory in bytes should be assigned to the Noticed URLs DB for caching purposes < / p >
* /
public static final String RAM_CACHE_NURL_TIME = " ramCacheNURL_time " ;
/ * *
* < p > < code > public static final String < strong > RAM_CACHE_EURL < / strong > = " ramCacheEURL " < / code > < / p >
* < p > Name of the setting how much memory in bytes should be assigned to the Erroneous URLs DB for caching purposes < / p >
* /
public static final String RAM_CACHE_EURL_TIME = " ramCacheEURL_time " ;
/ * *
* < p > < code > public static final String < strong > RAM_CACHE_RWI < / strong > = " ramCacheRWI " < / code > < / p >
* < p > Name of the setting how much memory in bytes should be assigned to the RWIs DB for caching purposes < / p >
* /
public static final String RAM_CACHE_RWI_TIME = " ramCacheRWI_time " ;
/ * *
* < p > < code > public static final String < strong > RAM_CACHE_HTTP < / strong > = " ramCacheHTTP " < / code > < / p >
* < p > Name of the setting how much memory in bytes should be assigned to the HTTP Headers DB for caching purposes < / p >
* /
public static final String RAM_CACHE_HTTP_TIME = " ramCacheHTTP_time " ;
/ * *
* < p > < code > public static final String < strong > RAM_CACHE_MESSAGE < / strong > = " ramCacheMessage " < / code > < / p >
* < p > Name of the setting how much memory in bytes should be assigned to the Message DB for caching purposes < / p >
* /
public static final String RAM_CACHE_MESSAGE_TIME = " ramCacheMessage_time " ;
/ * *
* < p > < code > public static final String < strong > RAM_CACHE_ROBOTS < / strong > = " ramCacheRobots " < / code > < / p >
* < p > Name of the setting how much memory in bytes should be assigned to the robots . txts DB for caching purposes < / p >
* /
public static final String RAM_CACHE_ROBOTS_TIME = " ramCacheRobots_time " ;
/ * *
* < p > < code > public static final String < strong > RAM_CACHE_PROFILES < / strong > = " ramCacheProfiles " < / code > < / p >
* < p > Name of the setting how much memory in bytes should be assigned to the Crawl Profiles DB for caching purposes < / p >
* /
public static final String RAM_CACHE_PROFILES_TIME = " ramCacheProfiles_time " ;
/ * *
* < p > < code > public static final String < strong > RAM_CACHE_PRE_NURL < / strong > = " ramCachePreNURL " < / code > < / p >
* < p > Name of the setting how much memory in bytes should be assigned to the Pre - Noticed URLs DB for caching purposes < / p >
* /
public static final String RAM_CACHE_PRE_NURL_TIME = " ramCachePreNURL_time " ;
/ * *
* < p > < code > public static final String < strong > RAM_CACHE_WIKI < / strong > = " ramCacheWiki " < / code > < / p >
* < p > Name of the setting how much memory in bytes should be assigned to the Wiki DB for caching purposes < / p >
* /
public static final String RAM_CACHE_WIKI_TIME = " ramCacheWiki_time " ;
/ * *
* < p > < code > public static final String < strong > RAM_CACHE_BLOG < / strong > = " ramCacheBlog " < / code > < / p >
* < p > Name of the setting how much memory in bytes should be assigned to the Blog DB for caching purposes < / p >
* /
public static final String RAM_CACHE_BLOG_TIME = " ramCacheBlog_time " ;
/ * *
* < p > < code > public static final String < strong > INDEX_DIST_CHUNK_SIZE_START < / strong > = " indexDistribution.startChunkSize " < / code > < / p >
* < p > Name of the setting specifying how many words the very first chunk will contain when the DHT - thread starts < / p >
* /
public static final String INDEX_DIST_CHUNK_SIZE_START = " indexDistribution.startChunkSize " ;
/ * *
* < p > < code > public static final String < strong > INDEX_DIST_CHUNK_SIZE_MIN < / strong > = " indexDistribution.minChunkSize " < / code > < / p >
* < p > Name of the setting specifying how many words the smallest chunk may contain < / p >
* /
public static final String INDEX_DIST_CHUNK_SIZE_MIN = " indexDistribution.minChunkSize " ;
/ * *
* < p > < code > public static final String < strong > INDEX_DIST_CHUNK_SIZE_MAX < / strong > = " indexDistribution.maxChunkSize " < / code > < / p >
* < p > Name of the setting specifying how many words the hugest chunk may contain < / p >
* /
public static final String INDEX_DIST_CHUNK_SIZE_MAX = " indexDistribution.maxChunkSize " ;
public static final String INDEX_DIST_CHUNK_FAILS_MAX = " indexDistribution.maxChunkFails " ;
/ * *
* < p > < code > public static final String < strong > INDEX_DIST_TIMEOUT < / strong > = " indexDistribution.timeout " < / code > < / p >
* < p > Name of the setting how long the timeout for an Index Distribution shall be in milliseconds < / p >
* /
public static final String INDEX_DIST_TIMEOUT = " indexDistribution.timeout " ;
/ * *
* < p > < code > public static final String < strong > INDEX_DIST_GZIP_BODY < / strong > = " indexDistribution.gzipBody " < / code > < / p >
* < p > Name of the setting whether DHT chunks shall be transferred gzip - encodedly < / p >
* /
public static final String INDEX_DIST_GZIP_BODY = " indexDistribution.gzipBody " ;
/ * *
* < p > < code > public static final String < strong > INDEX_DIST_ALLOW < / strong > = " allowDistributeIndex " < / code > < / p >
* < p > Name of the setting whether Index Distribution shall be allowed ( and the DHT - thread therefore started ) or not < / p >
2011-07-04 18:35:30 +02:00
*
2009-07-19 22:37:44 +02:00
* @see Switchboard # INDEX_DIST_ALLOW_WHILE_CRAWLING
2008-08-02 15:57:00 +02:00
* /
public static final String INDEX_DIST_ALLOW = " allowDistributeIndex " ;
public static final String INDEX_RECEIVE_ALLOW = " allowReceiveIndex " ;
2013-11-13 13:38:01 +01:00
public static final String INDEX_RECEIVE_ALLOW_SEARCH = " allowReceiveIndex.search " ;
public static final String INDEX_RECEIVE_BLOCK_BLACKLIST = " indexReceiveBlockBlacklist " ;
2008-08-02 15:57:00 +02:00
/ * *
* < p > < code > public static final String < strong > INDEX_DIST_ALLOW_WHILE_CRAWLING < / strong > = " allowDistributeIndexWhileCrawling " < / code > < / p >
* < p > Name of the setting whether Index Distribution shall be allowed while crawling is in progress , i . e .
* the Local Crawler Queue is filled . < / p >
* < p > This setting only has effect if { @link # INDEX_DIST_ALLOW } is enabled < / p >
2011-07-04 18:35:30 +02:00
*
2009-07-19 22:37:44 +02:00
* @see Switchboard # INDEX_DIST_ALLOW
2008-08-02 15:57:00 +02:00
* /
public static final String INDEX_DIST_ALLOW_WHILE_CRAWLING = " allowDistributeIndexWhileCrawling " ;
public static final String INDEX_DIST_ALLOW_WHILE_INDEXING = " allowDistributeIndexWhileIndexing " ;
public static final String INDEX_TRANSFER_TIMEOUT = " indexTransfer.timeout " ;
2013-07-23 19:32:32 +02:00
public static final String INDEX_TRANSFER_MAXLOAD = " indexTransfer.maxload " ;
2008-08-02 15:57:00 +02:00
public static final String INDEX_TRANSFER_GZIP_BODY = " indexTransfer.gzipBody " ;
2009-07-10 16:22:17 +02:00
public static final String PARSER_MIME_DENY = " parser.mime.deny " ;
2011-07-04 18:35:30 +02:00
public static final String PARSER_EXTENSIONS_DENY = " parser.extensions.deny " ;
2008-08-02 15:57:00 +02:00
/ * *
* < p > < code > public static final String < strong > PROXY_ONLINE_CAUTION_DELAY < / strong > = " onlineCautionDelay " < / code > < / p >
2011-07-04 18:35:30 +02:00
* < p > Name of the setting how long indexing should pause after the last time the proxy was used in milliseconds < / p >
2008-08-02 15:57:00 +02:00
* /
public static final String PROXY_ONLINE_CAUTION_DELAY = " crawlPause.proxy " ;
public static final String LOCALSEACH_ONLINE_CAUTION_DELAY = " crawlPause.localsearch " ;
public static final String REMOTESEARCH_ONLINE_CAUTION_DELAY = " crawlPause.remotesearch " ;
/ * *
* < p > < code > public static final String < strong > PROXY_PREFETCH_DEPTH < / strong > = " proxyPrefetchDepth " < / code > < / p >
* < p > Name of the setting how deep URLs fetched by proxy usage shall be followed < / p >
* /
public static final String PROXY_PREFETCH_DEPTH = " proxyPrefetchDepth " ;
public static final String PROXY_CRAWL_ORDER = " proxyCrawlOrder " ;
public static final String PROXY_INDEXING_REMOTE = " proxyIndexingRemote " ;
public static final String PROXY_INDEXING_LOCAL_TEXT = " proxyIndexingLocalText " ;
public static final String PROXY_INDEXING_LOCAL_MEDIA = " proxyIndexingLocalMedia " ;
public static final String PROXY_CACHE_SIZE = " proxyCacheSize " ;
/ * *
* < p > < code > public static final String < strong > PROXY_CACHE_LAYOUT < / strong > = " proxyCacheLayout " < / code > < / p >
* < p > Name of the setting which file - / folder - layout the proxy cache shall use . Possible values are { @link # PROXY_CACHE_LAYOUT_TREE }
* and { @link # PROXY_CACHE_LAYOUT_HASH } < / p >
2011-07-04 18:35:30 +02:00
*
2009-07-19 22:37:44 +02:00
* @see Switchboard # PROXY_CACHE_LAYOUT_TREE
* @see Switchboard # PROXY_CACHE_LAYOUT_HASH
2008-08-02 15:57:00 +02:00
* /
2009-06-15 21:48:11 +02:00
public static final String PROXY_YACY_ONLY = " proxyYacyOnly " ;
2011-07-04 18:35:30 +02:00
2008-08-02 15:57:00 +02:00
//////////////////////////////////////////////////////////////////////////////////////////////
// Cluster settings
//////////////////////////////////////////////////////////////////////////////////////////////
2011-07-04 18:35:30 +02:00
2008-08-02 15:57:00 +02:00
public static final String CLUSTER_MODE = " cluster.mode " ;
public static final String CLUSTER_MODE_PUBLIC_CLUSTER = " publiccluster " ;
public static final String CLUSTER_MODE_PUBLIC_PEER = " publicpeer " ;
2012-01-03 17:49:37 +01:00
public static final String CLUSTER_MODE_PRIVATE_PEER = " privatepeer " ;
2008-08-02 15:57:00 +02:00
public static final String CLUSTER_PEERS_IPPORT = " cluster.peers.ipport " ;
2011-02-13 18:37:28 +01:00
2012-10-09 11:48:55 +02:00
public static final String DHT_ENABLED = " network.unit.dht " ;
2011-02-13 18:37:28 +01:00
public static final String DHT_BURST_ROBINSON = " network.unit.dht.burst.robinson " ;
public static final String DHT_BURST_MULTIWORD = " network.unit.dht.burst.multiword " ;
2011-03-04 14:44:00 +01:00
public static final String REMOTESEARCH_MAXCOUNT_DEFAULT = " network.unit.remotesearch.maxcount " ;
public static final String REMOTESEARCH_MAXTIME_DEFAULT = " network.unit.remotesearch.maxtime " ;
public static final String REMOTESEARCH_MAXCOUNT_USER = " remotesearch.maxcount " ;
public static final String REMOTESEARCH_MAXTIME_USER = " remotesearch.maxtime " ;
2011-07-04 18:35:30 +02:00
2012-07-10 12:01:20 +02:00
public static final String FEDERATED_SERVICE_SOLR_INDEXING_ENABLED = " federated.service.solr.indexing.enabled " ;
public static final String FEDERATED_SERVICE_SOLR_INDEXING_URL = " federated.service.solr.indexing.url " ;
public static final String FEDERATED_SERVICE_SOLR_INDEXING_SHARDING = " federated.service.solr.indexing.sharding " ;
public static final String FEDERATED_SERVICE_SOLR_INDEXING_LAZY = " federated.service.solr.indexing.lazy " ;
2013-07-22 17:45:12 +02:00
public static final String FEDERATED_SERVICE_SOLR_INDEXING_TIMEOUT = " federated.service.solr.indexing.timeout " ;
2012-07-23 16:28:39 +02:00
2012-08-16 18:17:47 +02:00
//public static final String CORE_SERVICE_URLDB = "core.service.urldb.tmp";
//public static final String CORE_SERVICE_SOLR = "core.service.solr.tmp";
public static final String CORE_SERVICE_FULLTEXT = " core.service.fulltext " ;
2012-07-23 16:28:39 +02:00
public static final String CORE_SERVICE_RWI = " core.service.rwi.tmp " ;
public static final String CORE_SERVICE_CITATION = " core.service.citation.tmp " ;
2013-02-24 18:09:34 +01:00
public static final String CORE_SERVICE_WEBGRAPH = " core.service.webgraph.tmp " ;
public static final String CORE_SERVICE_JENA = " core.service.jena.tmp " ;
2012-07-23 16:28:39 +02:00
2008-08-02 15:57:00 +02:00
/ * *
* < p > < code > public static final String < strong > CRAWLER_THREADS_ACTIVE_MAX < / strong > = " crawler.MaxActiveThreads " < / code > < / p >
* < p > Name of the setting how many active crawler - threads may maximal be running on the same time < / p >
* /
public static final String CRAWLER_THREADS_ACTIVE_MAX = " crawler.MaxActiveThreads " ;
2012-06-26 13:54:48 +02:00
public static final String CRAWLER_FOLLOW_REDIRECTS = " crawler.http.FollowRedirects " ; // ignore the target url and follow to the redirect
public static final String CRAWLER_RECORD_REDIRECTS = " crawler.http.RecordRedirects " ; // record the ignored redirected page to the index store
2013-03-05 12:19:32 +01:00
/ * *
* debug flags
* /
2013-03-05 21:28:22 +01:00
public static final String DEBUG_SEARCH_LOCAL_DHT_OFF = " debug.search.local.dht.off " ; // =true: do not use the local dht/rwi index (which is not done if we do remote searches)
2013-03-05 12:19:32 +01:00
public static final String DEBUG_SEARCH_LOCAL_SOLR_OFF = " debug.search.local.solr.off " ; // =true: do not use solr
public static final String DEBUG_SEARCH_REMOTE_DHT_OFF = " debug.search.remote.dht.off " ; // =true: do not use dht/rwi
public static final String DEBUG_SEARCH_REMOTE_DHT_TESTLOCAL = " debug.search.remote.dht.testlocal " ; // =true: do not use dht, search local peer in a shortcut to the own server
public static final String DEBUG_SEARCH_REMOTE_SOLR_OFF = " debug.search.remote.solr.off " ; // =true: do not use solr
public static final String DEBUG_SEARCH_REMOTE_SOLR_TESTLOCAL = " debug.search.remote.solr.testlocal " ; // =true: do not use dht, search local peer in a shortcut to the own server
2008-08-02 15:57:00 +02:00
/ * *
* < p > < code > public static final String < strong > WORDCACHE_MAX_COUNT < / strong > = " wordCacheMaxCount " < / code > < / p >
* < p > Name of the setting how many words the word - cache ( or DHT - Out cache ) shall contain maximal . Indexing pages if the
* cache has reached this limit will slow down the indexing process by flushing some of it ' s entries < / p >
* /
public static final String WORDCACHE_MAX_COUNT = " wordCacheMaxCount " ;
public static final String HTTPC_NAME_CACHE_CACHING_PATTERNS_NO = " httpc.nameCacheNoCachingPatterns " ;
public static final String ROBOTS_TXT = " httpd.robots.txt " ;
2009-07-19 22:37:44 +02:00
public static final String ROBOTS_TXT_DEFAULT = RobotsTxtConfig . LOCKED + " , " + RobotsTxtConfig . DIRS ;
2011-07-04 18:35:30 +02:00
2008-08-02 15:57:00 +02:00
/ * *
* < p > < code > public static final String < strong > BLACKLIST_CLASS_DEFAULT < / strong > = " de.anomic.plasma.urlPattern.defaultURLPattern " < / code > < / p >
2009-03-02 12:04:13 +01:00
* < p > Package and name of YaCy ' s { @link DefaultBlacklist default } blacklist implementation < / p >
2011-07-04 18:35:30 +02:00
*
2009-03-02 12:04:13 +01:00
* @see DefaultBlacklist for a detailed overview about the syntax of the default implementation
2008-08-02 15:57:00 +02:00
* /
public static final String LIST_BLUE = " plasmaBlueList " ;
public static final String LIST_BLUE_DEFAULT = null ;
public static final String LIST_BADWORDS_DEFAULT = " yacy.badwords " ;
public static final String LIST_STOPWORDS_DEFAULT = " yacy.stopwords " ;
2011-07-04 18:35:30 +02:00
2008-08-02 15:57:00 +02:00
/ * *
* < p > < code > public static final String < strong > HTCACHE_PATH < / strong > = " proxyCache " < / code > < / p >
* < p > Name of the setting specifying the folder beginning from the YaCy - installation ' s top - folder , where all
* downloaded webpages and their respective ressources and HTTP - headers are stored . It is the location containing
* the proxy - cache < / p >
2011-07-04 18:35:30 +02:00
*
2009-07-19 22:37:44 +02:00
* @see Switchboard # PROXY_CACHE_LAYOUT for details on the file - layout in this path
2008-08-02 15:57:00 +02:00
* /
public static final String HTCACHE_PATH = " proxyCache " ;
public static final String HTCACHE_PATH_DEFAULT = " DATA/HTCACHE " ;
public static final String RELEASE_PATH = " releases " ;
public static final String RELEASE_PATH_DEFAULT = " DATA/RELEASE " ;
2011-07-04 18:35:30 +02:00
2009-04-16 10:01:38 +02:00
public static final String SURROGATES_IN_PATH = " surrogates.in " ;
public static final String SURROGATES_IN_PATH_DEFAULT = " DATA/SURROGATES/in " ;
public static final String SURROGATES_OUT_PATH = " surrogates.out " ;
public static final String SURROGATES_OUT_PATH_DEFAULT = " DATA/SURROGATES/out " ;
2011-07-04 18:35:30 +02:00
2009-09-02 20:24:41 +02:00
public static final String DICTIONARY_SOURCE_PATH = " dictionaries " ;
public static final String DICTIONARY_SOURCE_PATH_DEFAULT = " DATA/DICTIONARIES " ;
2011-07-04 18:35:30 +02:00
2008-08-02 15:57:00 +02:00
/ * *
* < p > < code > public static final String < strong > HTDOCS_PATH < / strong > = " htDocsPath " < / code > < / p >
* < p > Name of the setting specifying the folder beginning from the YaCy - installation ' s top - folder , where all
* user - ressources ( i . e . for the fileshare or the contents displayed on < code > www . peername . yacy < / code > ) lie .
* The translated templates of the webinterface will also be put in here < / p >
* /
public static final String HTDOCS_PATH = " htDocsPath " ;
public static final String HTDOCS_PATH_DEFAULT = " DATA/HTDOCS " ;
/ * *
* < p > < code > public static final String < strong > HTROOT_PATH < / strong > = " htRootPath " < / code > < / p >
* < p > Name of the setting specifying the folder beginning from the YaCy - installation ' s top - folder , where all
2011-07-04 18:35:30 +02:00
* original servlets , their stylesheets , scripts , etc . lie . It is also home of the XML - interface to YaCy < / p >
2008-08-02 15:57:00 +02:00
* /
public static final String HTROOT_PATH = " htRootPath " ;
public static final String HTROOT_PATH_DEFAULT = " htroot " ;
/ * *
* < p > < code > public static final String < strong > INDEX_PATH < / strong > = " indexPath " < / code > < / p >
* < p > Name of the setting specifying the folder beginning from the YaCy - installation ' s top - folder , where the
* whole database of known RWIs and URLs as well as dumps of the DHT - In and DHT - Out caches are stored < / p >
* /
public static final String INDEX_PRIMARY_PATH = " indexPrimaryPath " ; // this is a relative path to the data root
public static final String INDEX_PATH_DEFAULT = " DATA/INDEX " ;
/ * *
* < p > < code > public static final String < strong > LISTS_PATH < / strong > = " listsPath " < / code > < / p >
* < p > Name of the setting specifying the folder beginning from the YaCy - installation ' s top - folder , where all
* user - lists like blacklists , etc . are stored < / p >
* /
public static final String LISTS_PATH = " listsPath " ;
public static final String LISTS_PATH_DEFAULT = " DATA/LISTS " ;
/ * *
* < p > < code > public static final String < strong > WORK_PATH < / strong > = " wordPath " < / code > < / p >
* < p > Name of the setting specifying the folder beginning from the YaCy - installation ' s top - folder , where all
* DBs containing " work " of the user are saved . Such include bookmarks , messages , wiki , blog < / p >
2011-07-04 18:35:30 +02:00
*
2009-07-19 22:37:44 +02:00
* @see Switchboard # DBFILE_BLOG
* @see Switchboard # DBFILE_BOOKMARKS
* @see Switchboard # DBFILE_BOOKMARKS_DATES
* @see Switchboard # DBFILE_BOOKMARKS_TAGS
* @see Switchboard # DBFILE_MESSAGE
* @see Switchboard # DBFILE_WIKI
* @see Switchboard # DBFILE_WIKI_BKP
2008-08-02 15:57:00 +02:00
* /
public static final String WORK_PATH = " workPath " ;
public static final String WORK_PATH_DEFAULT = " DATA/WORK " ;
2009-05-27 17:04:04 +02:00
2011-07-04 18:35:30 +02:00
2009-10-31 20:12:53 +01:00
/ * *
* ResourceObserver
* /
public static final String DISK_FREE = " disk.free " ;
public static final String DISK_FREE_HARDLIMIT = " disk.free.hardlimit " ;
2011-07-04 18:35:30 +02:00
2011-01-02 21:38:01 +01:00
public static final String MEMORY_ACCEPTDHT = " memory.acceptDHTabove " ;
2010-02-09 18:14:16 +01:00
public static final String INDEX_RECEIVE_AUTODISABLED = " memory.disabledDHT " ;
2011-07-04 18:35:30 +02:00
2008-08-02 15:57:00 +02:00
/ *
* Some constants
* /
public static final String STR_REMOTECRAWLTRIGGER = " REMOTECRAWLTRIGGER: REMOTE CRAWL TO PEER " ;
2008-09-24 01:30:25 +02:00
/ * *
* network properties
2011-07-04 18:35:30 +02:00
*
2008-09-24 01:30:25 +02:00
* /
public static final String NETWORK_NAME = " network.unit.name " ;
2013-08-22 14:23:47 +02:00
public static final String NETWORK_DOMAIN = " network.unit.domain " ; // can be filled with: global, local, any
2011-04-21 15:58:49 +02:00
public static final String NETWORK_DOMAIN_NOCHECK = " network.unit.domain.nocheck " ;
2009-01-12 11:55:48 +01:00
public static final String NETWORK_WHITELIST = " network.unit.access.whitelist " ;
public static final String NETWORK_BLACKLIST = " network.unit.access.blacklist " ;
2013-08-22 14:23:47 +02:00
public static final String NETWORK_BOOTSTRAP_SEEDLIST_STUB = " network.unit.bootstrap.seedlist " ;
2011-07-04 18:35:30 +02:00
2011-01-22 10:46:00 +01:00
public static final String NETWORK_SEARCHVERIFY = " network.unit.inspection.searchverify " ;
2011-07-04 18:35:30 +02:00
2009-02-01 01:43:52 +01:00
/ * *
* appearance
* /
public static final String GREETING = " promoteSearchPageGreeting " ;
public static final String GREETING_NETWORK_NAME = " promoteSearchPageGreeting.useNetworkName " ;
public static final String GREETING_HOMEPAGE = " promoteSearchPageGreeting.homepage " ;
public static final String GREETING_LARGE_IMAGE = " promoteSearchPageGreeting.largeImage " ;
public static final String GREETING_SMALL_IMAGE = " promoteSearchPageGreeting.smallImage " ;
2011-07-04 18:35:30 +02:00
2009-02-03 14:04:02 +01:00
/ * *
* browser pop up
* /
public static final String BROWSER_POP_UP_TRIGGER = " browserPopUpTrigger " ;
public static final String BROWSER_POP_UP_PAGE = " browserPopUpPage " ;
2012-02-26 20:53:32 +01:00
public static final String BROWSER_DEFAULT = " defaultFiles " ;
2011-07-04 18:35:30 +02:00
2010-12-07 16:46:04 +01:00
/ * *
* forwarder of the index page
* /
public static final String INDEX_FORWARD = " indexForward " ;
2011-07-04 18:35:30 +02:00
2009-02-14 14:12:08 +01:00
public static final String UPNP_ENABLED = " upnp.enabled " ;
2009-06-19 17:32:59 +02:00
public static final String UPNP_REMOTEHOST = " upnp.remoteHost " ;
2010-10-26 00:16:07 +02:00
public static final String SEARCH_ITEMS = " search.items " ;
2012-01-26 15:32:30 +01:00
public static final String SEARCH_TARGET_DEFAULT = " search.target " ;
public static final String SEARCH_TARGET_SPECIAL = " search.target.special " ; // exceptions to the search target
public static final String SEARCH_TARGET_SPECIAL_PATTERN = " search.target.special.pattern " ; // ie 'own' addresses in topframe, 'other' in iframe
2011-11-24 11:22:02 +01:00
public static final String SEARCH_VERIFY = " search.verify " ;
2011-11-18 14:09:07 +01:00
public static final String SEARCH_VERIFY_DELETE = " search.verify.delete " ;
2011-07-04 18:35:30 +02:00
2012-12-02 16:54:29 +01:00
/ * *
2013-03-13 14:47:00 +01:00
* ranking + evaluation
2012-12-02 16:54:29 +01:00
* /
public static final String SEARCH_RANKING_RWI_PROFILE = " search.ranking.rwi.profile " ; // old rwi rankingProfile ranking
public static final String SEARCH_RANKING_SOLR_DOUBLEDETECTION_MINLENGTH = " search.ranking.solr.doubledetection.minlength " ;
public static final String SEARCH_RANKING_SOLR_DOUBLEDETECTION_QUANTRATE = " search.ranking.solr.doubledetection.quantrate " ;
2013-03-13 14:47:00 +01:00
/ * *
* boosts for different cores ( add an number to the end of the property name )
* /
2013-04-16 15:02:00 +02:00
public static final String SEARCH_RANKING_SOLR_COLLECTION_BOOSTNAME_ = " search.ranking.solr.collection.boostname.tmpa. " ; // temporary until we know best default values; add the index number (0..3) to that string
public static final String SEARCH_RANKING_SOLR_COLLECTION_BOOSTFIELDS_ = " search.ranking.solr.collection.boostfields.tmpa. " ;
public static final String SEARCH_RANKING_SOLR_COLLECTION_BOOSTQUERY_ = " search.ranking.solr.collection.boostquery.tmpa. " ;
2013-06-07 13:22:22 +02:00
public static final String SEARCH_RANKING_SOLR_COLLECTION_BOOSTFUNCTION_ = " search.ranking.solr.collection.boostfunction.tmpb. " ;
2012-12-02 16:54:29 +01:00
2009-04-23 15:18:59 +02:00
/ * *
* system tray
* /
2013-06-11 14:42:30 +02:00
public static final String TRAY_ICON_ENABLED = " tray.icon.enabled " ;
public static final String TRAY_ICON_FORCED = " tray.icon.force " ;
public static final String TRAY_ICON_LABEL = " tray.icon.label " ;
public static final String TRAY_MENU_ENABLED = " tray.menu.enabled " ;
/ *
* search heuristics
* /
public static final String HEURISTIC_SITE = " heuristic.site " ;
public static final String HEURISTIC_SEARCHRESULTS = " heuristic.searchresults " ;
public static final String HEURISTIC_SEARCHRESULTS_CRAWLGLOBAL = " heuristic.searchresults.crawlglobal " ;
public static final String HEURISTIC_BLEKKO = " heuristic.blekko " ;
public static final String HEURISTIC_TWITTER = " heuristic.twitter " ;
public static final String HEURISTIC_OPENSEARCH = " heuristic.opensearch " ;
/ *
* automatic learning heuristic
* /
public static final String GREEDYLEARNING_ENABLED = " greedylearning.enabled " ;
public static final String GREEDYLEARNING_LIMIT_DOCCOUNT = " greedylearning.limit.doccount " ;
public static final String GREEDYLEARNING_ACTIVE = " greedylearning.active " ;
2013-07-26 19:51:34 +02:00
/ *
* Skins
* /
public static final String SKINS_PATH_DEFAULT = " DATA/SKINS " ;
2008-08-02 15:57:00 +02:00
}