9 #define JSON_CONTAINER_DEFAULT_SIZE (50 * 1024 * 1024)
10 #define JSON_STORAGE_DEFAULT_THREADS \
11 std::max(1u, std::thread::hardware_concurrency() - 1)
89 if (token ==
"NO_SIMILARITY")
91 else if (token ==
"PATH_JACCARD")
93 else if (token ==
"ATTRIBUTE_JACCARD")
96 in.setstate(std::ios_base::failbit);
104 if (token ==
"NO_EVICTION")
106 else if (token ==
"LARGEST")
108 else if (token ==
"LRU")
110 else if (token ==
"FIFO")
112 else if (token ==
"DEPENDENCIES")
114 else if (token ==
"EXPLORER")
117 in.setstate(std::ios_base::failbit);
static bool persistent_history
Definition: config.h:75
static std::string history_file
Definition: config.h:74
static size_t sim_min_cont_size
Definition: config.h:65
static bool benchmark
Definition: config.h:45
static unsigned long long maxmemory
Definition: config.h:33
static std::string read_reader
Definition: config.h:60
static std::string benchfile
Definition: config.h:46
static size_t JSONContainerSize
Definition: config.h:49
static uint bloom_count
Definition: config.h:23
Sim_Measures
Definition: config.h:68
@ PATH_JACCARD
Definition: config.h:68
@ ATTRIBUTE_JACCARD
Definition: config.h:68
@ NO_SIMILARITY
Definition: config.h:68
static std::string home
Definition: config.h:28
static bool storeJson
Definition: config.h:32
static std::string tmpdir
Definition: config.h:29
static bool sim_merge_on_parse
Definition: config.h:71
static size_t parsingThreads
Definition: config.h:55
static bool queryCache
Definition: config.h:19
static int history_size
Definition: config.h:76
static bool bloom_enabled
Definition: config.h:22
static double text_binary_mod
Definition: config.h:51
static bool enable_views
Definition: config.h:82
static double sim_min_similarity
Definition: config.h:67
static size_t readingThreads
Definition: config.h:56
static Sim_Measures sim_measure
Definition: config.h:70
static size_t read_bulk_size
Definition: config.h:59
static EvictionStrategies evictionStrategy
Definition: config.h:42
static bool enable_views_vo
Definition: config.h:83
static bool disable_interactive_CLI
Definition: config.h:79
static double chunk_size
Definition: config.h:50
static double bloom_prob
Definition: config.h:25
static size_t parse_bulk_size
Definition: config.h:61
EvictionStrategies
Definition: config.h:34
@ EXPLORER
Definition: config.h:40
@ LARGEST
Definition: config.h:36
@ DEPENDENCIES
Definition: config.h:39
@ NO_EVICTION
Definition: config.h:35
@ FIFO
Definition: config.h:38
@ LRU
Definition: config.h:37
static size_t storageRetrievalThreads
Definition: config.h:54
std::istream & operator>>(std::istream &in, config::Sim_Measures &unit)
Definition: config.h:86