|
2049 | 2049 | JSON schema initializer |
2050 | 2050 | </a> |
2051 | 2051 |
|
| 2052 | +</li> |
| 2053 | + |
| 2054 | + <li class="md-nav__item"> |
| 2055 | + <a href="#batched-queries-enhancement-introduction-of-janusgraphnoopbarriervertexonlystep" class="md-nav__link"> |
| 2056 | + Batched Queries Enhancement: Introduction of JanusGraphNoOpBarrierVertexOnlyStep |
| 2057 | + </a> |
| 2058 | + |
| 2059 | +</li> |
| 2060 | + |
| 2061 | + <li class="md-nav__item"> |
| 2062 | + <a href="#batch-query-optimizations-now-support-traversals-containing-the-drop-step" class="md-nav__link"> |
| 2063 | + Batch Query Optimizations Now Support Traversals Containing the drop() Step |
| 2064 | + </a> |
| 2065 | + |
2052 | 2066 | </li> |
2053 | 2067 |
|
2054 | 2068 | </ul> |
|
3176 | 3190 | JSON schema initializer |
3177 | 3191 | </a> |
3178 | 3192 |
|
| 3193 | +</li> |
| 3194 | + |
| 3195 | + <li class="md-nav__item"> |
| 3196 | + <a href="#batched-queries-enhancement-introduction-of-janusgraphnoopbarriervertexonlystep" class="md-nav__link"> |
| 3197 | + Batched Queries Enhancement: Introduction of JanusGraphNoOpBarrierVertexOnlyStep |
| 3198 | + </a> |
| 3199 | + |
| 3200 | +</li> |
| 3201 | + |
| 3202 | + <li class="md-nav__item"> |
| 3203 | + <a href="#batch-query-optimizations-now-support-traversals-containing-the-drop-step" class="md-nav__link"> |
| 3204 | + Batch Query Optimizations Now Support Traversals Containing the drop() Step |
| 3205 | + </a> |
| 3206 | + |
3179 | 3207 | </li> |
3180 | 3208 |
|
3181 | 3209 | </ul> |
@@ -4432,6 +4460,23 @@ <h5 id="berkeleyje-ability-to-overwrite-arbitrary-settings-applied-at-environmen |
4432 | 4460 | <h5 id="json-schema-initializer">JSON schema initializer</h5> |
4433 | 4461 | <p>For simplicity JSON schema initialization options has been added into JanusGraph. |
4434 | 4462 | See <a href="../schema/schema-init-strategies/">documentation</a> to learn more about JSON schema initialization process.</p> |
| 4463 | +<h5 id="batched-queries-enhancement-introduction-of-janusgraphnoopbarriervertexonlystep">Batched Queries Enhancement: Introduction of <code>JanusGraphNoOpBarrierVertexOnlyStep</code></h5> |
| 4464 | +<p>In previous versions, when a query that could benefit from batch-query optimization (multi-query) was executed without |
| 4465 | +a user-defined barrier step, JanusGraph would inject a <code>NoOpBarrierStep</code> by default. This approach allowed batching |
| 4466 | +for edges and properties, which do not gain advantages from multi-query optimization.</p> |
| 4467 | +<p>Starting with JanusGraph 1.1.0, this behavior has been improved. The system now injects a |
| 4468 | +<code>JanusGraphNoOpBarrierVertexOnlyStep</code> instead of the standard <code>NoOpBarrierStep</code> when no barrier steps are detected. |
| 4469 | +This change ensures that batching is applied exclusively to vertices, which do benefit from batch queries, |
| 4470 | +while excluding edges and properties from the batching process.</p> |
| 4471 | +<p>If a user explicitly defines a <code>.barrier()</code> step in the query, the system will continue to use the <code>NoOpBarrierStep</code> as expected.</p> |
| 4472 | +<h5 id="batch-query-optimizations-now-support-traversals-containing-the-drop-step">Batch Query Optimizations Now Support Traversals Containing the <code>drop()</code> Step</h5> |
| 4473 | +<p>Starting with JanusGraph 1.1.0, batch optimizations for vertex removal have been introduced in the <code>drop()</code> step and |
| 4474 | +are enabled by default. Previously, any batch optimization would be skipped for queries containing at least one |
| 4475 | +<code>drop()</code> step. However, with this update, such queries are now eligible for batch query optimization (multi-query).</p> |
| 4476 | +<p>Please note that the <code>LazyBarrierStrategy</code> (a TinkerPop strategy) is disabled for any query that includes at least one <code>drop()</code> step.</p> |
| 4477 | +<p>To disable the <code>drop()</code> step optimization and maintain the previous behavior, users can set the following configuration: |
| 4478 | +<div class="highlight"><pre><span></span><code>query.batch.drop-step-mode=none |
| 4479 | +</code></pre></div></p> |
4435 | 4480 | <h3 id="version-101-release-date">Version 1.0.1 (Release Date: ???)</h3> |
4436 | 4481 | <div class="tabbed-set tabbed-alternate" data-tabs="2:2"><input checked="checked" id="__tabbed_2_1" name="__tabbed_2" type="radio" /><input id="__tabbed_2_2" name="__tabbed_2" type="radio" /><div class="tabbed-labels"><label for="__tabbed_2_1">Maven</label><label for="__tabbed_2_2">Gradle</label></div> |
4437 | 4482 | <div class="tabbed-content"> |
|
0 commit comments