You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* `graph` (required) — references a key in the `graphs` section
514
514
* `query` (optional) — a Gremlin expression evaluated with a base traversal source bound as `g`; the result becomes
515
515
the final `TraversalSource`
516
-
* `language` (optional) — which script engine to use for query evaluation; defaults to `gremlin-lang` or the single
517
-
configured non-`gremlin-lang` engine
516
+
* `language` (optional) — which script engine to use for query evaluation; defaults to `gremlin-lang`, or the sole
517
+
configured engine if only one is present
518
518
519
519
Graphs with explicit `traversalSources` entries are excluded from auto-creation.
520
520
@@ -899,7 +899,7 @@ The following table describes the various YAML configuration options that Gremli
899
899
|traversalSources |A `Map` of `TraversalSource` configurations keyed by binding name. Each entry specifies a `graph` reference and optionally a `query` to configure strategies. See <<server-traversal-sources>>. |_none (auto-created from graphs)_
900
900
|traversalSources.<name>.graph |The name of the graph (as defined in `graphs`) to create the traversal source from. |_none_
901
901
|traversalSources.<name>.query |An optional Gremlin query evaluated with a base traversal source bound as `g`. The result becomes the final `TraversalSource`. |_none_
902
-
|traversalSources.<name>.language |The script engine language to use for evaluating `query`. Falls back to the single configured non-`gremlin-lang` engine or `gremlin-lang`. |_auto-detected_
902
+
|traversalSources.<name>.language |The script engine language to use for evaluating `query`. Falls back to the sole configured engine if only one is present, or `gremlin-lang` otherwise. |_auto-detected_
903
903
|lifecycleHooks |A `List` of Java-based `LifeCycleHook` implementations to instantiate and execute during server startup and shutdown. See <<server-lifecycle-hooks>>. |_none_
904
904
|lifecycleHooks[X].className |The fully qualified class name of the `LifeCycleHook` implementation. |_none_
905
905
|lifecycleHooks[X].config |A `Map` of configuration passed to the hook's `init(Map)` method. |_none_
0 commit comments