1+ gremlin.graph =org.janusgraph.core.JanusGraphFactory
2+ # JanusGraph configuration sample: FoundationDB
3+ #
4+ # This file connects to a local FoundationDB instance.
5+ # FoundationDB must already be started before starting JanusGraph
6+ # with this file.
7+
8+ # The primary persistence provider used by JanusGraph. This is required.
9+ # It should be set one of JanusGraph's built-in shorthand names for its
10+ # standard storage backends (shorthands: berkeleyje, cassandrathrift,
11+ # cassandra, astyanax, embeddedcassandra, cql, hbase, foundationdb,
12+ # inmemory) or to the full package and classname of a custom/third-party
13+ # StoreManager implementation.
14+ #
15+ # Default: (no default value)
16+ # Data Type: String
17+ # Mutability: LOCAL
18+ storage.backend =com.experoinc.janusgraph.diskstorage.foundationdb.FoundationDBStoreManager
19+
20+ # Whether to enable JanusGraph's database-level cache, which is shared
21+ # across all transactions. Enabling this option speeds up traversals by
22+ # holding hot graph elements in memory, but also increases the likelihood
23+ # of reading stale data. Disabling it forces each transaction to
24+ # independently fetch graph elements from storage before reading/writing
25+ # them.
26+ #
27+ # Default: false
28+ # Data Type: Boolean
29+ # Mutability: MASKABLE
30+ cache.db-cache = false
31+
32+ # How long, in milliseconds, database-level cache will keep entries after
33+ # flushing them. This option is only useful on distributed storage
34+ # backends that are capable of acknowledging writes without necessarily
35+ # making them immediately visible.
36+ #
37+ # Default: 50
38+ # Data Type: Integer
39+ # Mutability: GLOBAL_OFFLINE
40+ #
41+ # Settings with mutability GLOBAL_OFFLINE are centrally managed in
42+ # JanusGraph's storage backend. After starting the database for the first
43+ # time, this file's copy of this setting is ignored. Use JanusGraph's
44+ # Management System to read or modify this value after bootstrapping.
45+ cache.db-cache-clean-wait = 20
46+
47+ # Default expiration time, in milliseconds, for entries in the
48+ # database-level cache. Entries are evicted when they reach this age even
49+ # if the cache has room to spare. Set to 0 to disable expiration (cache
50+ # entries live forever or until memory pressure triggers eviction when set
51+ # to 0).
52+ #
53+ # Default: 10000
54+ # Data Type: Long
55+ # Mutability: GLOBAL_OFFLINE
56+ #
57+ # Settings with mutability GLOBAL_OFFLINE are centrally managed in
58+ # JanusGraph's storage backend. After starting the database for the first
59+ # time, this file's copy of this setting is ignored. Use JanusGraph's
60+ # Management System to read or modify this value after bootstrapping.
61+ cache.db-cache-time = 180000
62+
63+ # Size of JanusGraph's database level cache. Values between 0 and 1 are
64+ # interpreted as a percentage of VM heap, while larger values are
65+ # interpreted as an absolute size in bytes.
66+ #
67+ # Default: 0.3
68+ # Data Type: Double
69+ # Mutability: MASKABLE
70+ cache.db-cache-size = 0.5
71+
72+ # Connect to an already-running ES instance on localhost
73+
74+ # The indexing backend used to extend and optimize JanusGraph's query
75+ # functionality. This setting is optional. JanusGraph can use multiple
76+ # heterogeneous index backends. Hence, this option can appear more than
77+ # once, so long as the user-defined name between "index" and "backend" is
78+ # unique among appearances.Similar to the storage backend, this should be
79+ # set to one of JanusGraph's built-in shorthand names for its standard index
80+ # backends (shorthands: lucene, elasticsearch, es, solr) or to the full
81+ # package and classname of a custom/third-party IndexProvider
82+ # implementation.
83+ #
84+ # Default: elasticsearch
85+ # Data Type: String
86+ # Mutability: GLOBAL_OFFLINE
87+ #
88+ # Settings with mutability GLOBAL_OFFLINE are centrally managed in JanusGraph's
89+ # storage backend. After starting the database for the first time, this
90+ # file's copy of this setting is ignored. Use JanusGraph's Management System
91+ # to read or modify this value after bootstrapping.
92+ index.search.backend =elasticsearch
93+
94+ # The hostname or comma-separated list of hostnames of index backend
95+ # servers. This is only applicable to some index backends, such as
96+ # elasticsearch and solr.
97+ #
98+ # Default: 127.0.0.1
99+ # Data Type: class java.lang.String[]
100+ # Mutability: MASKABLE
101+ index.search.hostname =127.0.0.1
102+
103+ # The Elasticsearch node.client option is set to this boolean value, and
104+ # the Elasticsearch node.data option is set to the negation of this value.
105+ # True creates a thin client which holds no data. False creates a regular
106+ # Elasticsearch cluster node that may store data.
107+ #
108+ # Default: true
109+ # Data Type: Boolean
110+ # Mutability: GLOBAL_OFFLINE
111+ #
112+ # Settings with mutability GLOBAL_OFFLINE are centrally managed in JanusGraph's
113+ # storage backend. After starting the database for the first time, this
114+ # file's copy of this setting is ignored. Use JanusGraph's Management System
115+ # to read or modify this value after bootstrapping.
116+ index.search.elasticsearch.client-only =true
117+
118+ # Or start ES inside the JanusGraph JVM
119+ # index.search.backend=elasticsearch
120+ # index.search.directory=db/es
121+ # index.search.elasticsearch.client-only=false
122+ # index.search.elasticsearch.local-mode=true
123+
124+ # Turn on storage adapter query parallelization
125+ query.batch = true
0 commit comments