Skip to content

Commit febf98e

Browse files
:wqrefactor[index]: mark 'Full Index' and 'Edge' indexes classes as deprecated
1 parent cd91dc0 commit febf98e

34 files changed

+159
-109
lines changed

docs/classes/ArangoDB-Collection-Contracts-IndexInterface.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ <h4 class="phpdocumentor-element__name" id="method_getCollection">
416416
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
417417
<span class="phpdocumentor-signature__response_type"><a href="classes/ArangoDB-Collection-Collection.html"><abbr title="\ArangoDB\Collection\Collection">Collection</abbr></a>|null</span>
418418
&mdash;
419-
<section class="phpdocumentor-description"><p>A collection object or null if the index was not set to an collection yet</p>
419+
<section class="phpdocumentor-description"><p>A collection object or null if the index was not set to a collection yet</p>
420420
</section>
421421

422422
</section>
@@ -620,7 +620,7 @@ <h4 class="phpdocumentor-element__name" id="method_isNew">
620620
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
621621
<span class="phpdocumentor-signature__response_type">bool</span>
622622
&mdash;
623-
<section class="phpdocumentor-description"><p>True for new one index. False for a existing index.</p>
623+
<section class="phpdocumentor-description"><p>True for new one index. False for an existing index.</p>
624624
</section>
625625

626626
</section>

docs/classes/ArangoDB-Collection-Index-EdgeIndex.html

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -268,14 +268,20 @@ <h2 class="phpdocumentor-content__title">
268268
<aside class="phpdocumentor-element-found-in">
269269
<abbr class="phpdocumentor-element-found-in__file" title="src/Collection/Index/EdgeIndex.php"><a href="files/src-collection-index-edgeindex.html"><abbr title="src/Collection/Index/EdgeIndex.php">EdgeIndex.php</abbr></a></abbr>
270270
:
271-
<span class="phpdocumentor-element-found-in__line">15</span>
271+
<span class="phpdocumentor-element-found-in__line">16</span>
272272

273-
<a href="classes/ArangoDB-Collection-Index-EdgeIndex.html#source-view.15" class="phpdocumentor-element-found-in__source" data-line="15" data-modal="source-view" data-src="files/src/Collection/Index/EdgeIndex.php.txt"></a>
273+
<a href="classes/ArangoDB-Collection-Index-EdgeIndex.html#source-view.16" class="phpdocumentor-element-found-in__source" data-line="16" data-modal="source-view" data-src="files/src/Collection/Index/EdgeIndex.php.txt"></a>
274274
</aside>
275275

276276
<p class="phpdocumentor-summary">Represents an edge index on a collection</p>
277277

278-
278+
<div class="phpdocumentor-admonition">
279+
<svg class="phpdocumentor-admonition__icon" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"></path></svg>
280+
<article>
281+
282+
</article>
283+
</div>
284+
279285

280286

281287
<h5 class="phpdocumentor-tag-list__heading" id="tags">
@@ -338,7 +344,7 @@ <h4 id="toc-properties">
338344
<span>
339345
&nbsp;: string </span>
340346
</dt>
341-
<dd>Index Id.</dd>
347+
<dd>Index ID.</dd>
342348

343349
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
344350
<a class="" href="classes/ArangoDB-Collection-Index-Index.html#property_indexTypes">$indexTypes</a>
@@ -417,7 +423,7 @@ <h4 id="toc-methods">
417423
<span>
418424
&nbsp;: array&lt;string|int, mixed&gt; </span>
419425
</dt>
420-
<dd>This type of Index cannot be create/deleted explicitly by user.</dd>
426+
<dd>This type of Index cannot be created/deleted explicitly by user.</dd>
421427

422428
<dt class="phpdocumentor-table-of-contents__entry -method -public">
423429
<a class="" href="classes/ArangoDB-Collection-Index-Index.html#method_getFields">getFields()</a>
@@ -486,7 +492,7 @@ <h4 id="toc-methods">
486492
<span>
487493
&nbsp;: array&lt;string|int, mixed&gt; </span>
488494
</dt>
489-
<dd>Returns a array representation of entity</dd>
495+
<dd>Returns an array representation of entity</dd>
490496

491497
</dl>
492498

@@ -603,7 +609,7 @@ <h4 class="phpdocumentor-element__name" id="property_id">
603609
<a href="classes/ArangoDB-Collection-Index-EdgeIndex.html#source-view.24" class="phpdocumentor-element-found-in__source" data-line="24" data-modal="source-view" data-src="files/src/Collection/Index/Index.php.txt"></a>
604610
</aside>
605611

606-
<p class="phpdocumentor-summary">Index Id.</p>
612+
<p class="phpdocumentor-summary">Index ID.</p>
607613

608614

609615
<code class="phpdocumentor-code phpdocumentor-signature ">
@@ -884,9 +890,9 @@ <h4 class="phpdocumentor-element__name" id="method___construct">
884890
<aside class="phpdocumentor-element-found-in">
885891
<abbr class="phpdocumentor-element-found-in__file" title="src/Collection/Index/EdgeIndex.php"><a href="files/src-collection-index-edgeindex.html"><abbr title="src/Collection/Index/EdgeIndex.php">EdgeIndex.php</abbr></a></abbr>
886892
:
887-
<span class="phpdocumentor-element-found-in__line">24</span>
893+
<span class="phpdocumentor-element-found-in__line">25</span>
888894

889-
<a href="classes/ArangoDB-Collection-Index-EdgeIndex.html#source-view.24" class="phpdocumentor-element-found-in__source" data-line="24" data-modal="source-view" data-src="files/src/Collection/Index/EdgeIndex.php.txt"></a>
895+
<a href="classes/ArangoDB-Collection-Index-EdgeIndex.html#source-view.25" class="phpdocumentor-element-found-in__source" data-line="25" data-modal="source-view" data-src="files/src/Collection/Index/EdgeIndex.php.txt"></a>
890896
</aside>
891897

892898
<p class="phpdocumentor-summary">EdgeIndex constructor.</p>
@@ -1037,7 +1043,7 @@ <h4 class="phpdocumentor-element__name" id="method_getCreateData">
10371043
<a href="classes/ArangoDB-Collection-Index-EdgeIndex.html#source-view.37" class="phpdocumentor-element-found-in__source" data-line="37" data-modal="source-view" data-src="files/src/Collection/Index/PrimaryIndex.php.txt"></a>
10381044
</aside>
10391045

1040-
<p class="phpdocumentor-summary">This type of Index cannot be create/deleted explicitly by user.</p>
1046+
<p class="phpdocumentor-summary">This type of Index cannot be created/deleted explicitly by user.</p>
10411047

10421048
<code class="phpdocumentor-code phpdocumentor-signature ">
10431049
<span class="phpdocumentor-signature__visibility">public</span>
@@ -1489,7 +1495,7 @@ <h4 class="phpdocumentor-element__name" id="method_toArray">
14891495
<a href="classes/ArangoDB-Collection-Index-EdgeIndex.html#source-view.230" class="phpdocumentor-element-found-in__source" data-line="230" data-modal="source-view" data-src="files/src/Collection/Index/Index.php.txt"></a>
14901496
</aside>
14911497

1492-
<p class="phpdocumentor-summary">Returns a array representation of entity</p>
1498+
<p class="phpdocumentor-summary">Returns an array representation of entity</p>
14931499

14941500
<code class="phpdocumentor-code phpdocumentor-signature ">
14951501
<span class="phpdocumentor-signature__visibility">public</span>

docs/classes/ArangoDB-Collection-Index-FullTextIndex.html

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -268,14 +268,20 @@ <h2 class="phpdocumentor-content__title">
268268
<aside class="phpdocumentor-element-found-in">
269269
<abbr class="phpdocumentor-element-found-in__file" title="src/Collection/Index/FullTextIndex.php"><a href="files/src-collection-index-fulltextindex.html"><abbr title="src/Collection/Index/FullTextIndex.php">FullTextIndex.php</abbr></a></abbr>
270270
:
271-
<span class="phpdocumentor-element-found-in__line">15</span>
271+
<span class="phpdocumentor-element-found-in__line">16</span>
272272

273-
<a href="classes/ArangoDB-Collection-Index-FullTextIndex.html#source-view.15" class="phpdocumentor-element-found-in__source" data-line="15" data-modal="source-view" data-src="files/src/Collection/Index/FullTextIndex.php.txt"></a>
273+
<a href="classes/ArangoDB-Collection-Index-FullTextIndex.html#source-view.16" class="phpdocumentor-element-found-in__source" data-line="16" data-modal="source-view" data-src="files/src/Collection/Index/FullTextIndex.php.txt"></a>
274274
</aside>
275275

276276
<p class="phpdocumentor-summary">Represents a fulltext index</p>
277277

278-
278+
<div class="phpdocumentor-admonition">
279+
<svg class="phpdocumentor-admonition__icon" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"></path></svg>
280+
<article>
281+
282+
</article>
283+
</div>
284+
279285

280286

281287
<h5 class="phpdocumentor-tag-list__heading" id="tags">
@@ -338,7 +344,7 @@ <h4 id="toc-properties">
338344
<span>
339345
&nbsp;: string </span>
340346
</dt>
341-
<dd>Index Id.</dd>
347+
<dd>Index ID.</dd>
342348

343349
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
344350
<a class="" href="classes/ArangoDB-Collection-Index-Index.html#property_indexTypes">$indexTypes</a>
@@ -500,7 +506,7 @@ <h4 id="toc-methods">
500506
<span>
501507
&nbsp;: array&lt;string|int, mixed&gt; </span>
502508
</dt>
503-
<dd>Returns a array representation of index</dd>
509+
<dd>Returns an array representation of index</dd>
504510

505511
</dl>
506512

@@ -617,7 +623,7 @@ <h4 class="phpdocumentor-element__name" id="property_id">
617623
<a href="classes/ArangoDB-Collection-Index-FullTextIndex.html#source-view.24" class="phpdocumentor-element-found-in__source" data-line="24" data-modal="source-view" data-src="files/src/Collection/Index/Index.php.txt"></a>
618624
</aside>
619625

620-
<p class="phpdocumentor-summary">Index Id.</p>
626+
<p class="phpdocumentor-summary">Index ID.</p>
621627

622628

623629
<code class="phpdocumentor-code phpdocumentor-signature ">
@@ -733,9 +739,9 @@ <h4 class="phpdocumentor-element__name" id="property_minLength">
733739
<aside class="phpdocumentor-element-found-in">
734740
<abbr class="phpdocumentor-element-found-in__file" title="src/Collection/Index/FullTextIndex.php"><a href="files/src-collection-index-fulltextindex.html"><abbr title="src/Collection/Index/FullTextIndex.php">FullTextIndex.php</abbr></a></abbr>
735741
:
736-
<span class="phpdocumentor-element-found-in__line">22</span>
742+
<span class="phpdocumentor-element-found-in__line">23</span>
737743

738-
<a href="classes/ArangoDB-Collection-Index-FullTextIndex.html#source-view.22" class="phpdocumentor-element-found-in__source" data-line="22" data-modal="source-view" data-src="files/src/Collection/Index/FullTextIndex.php.txt"></a>
744+
<a href="classes/ArangoDB-Collection-Index-FullTextIndex.html#source-view.23" class="phpdocumentor-element-found-in__source" data-line="23" data-modal="source-view" data-src="files/src/Collection/Index/FullTextIndex.php.txt"></a>
739745
</aside>
740746

741747
<p class="phpdocumentor-summary">Minimum length of index</p>
@@ -938,9 +944,9 @@ <h4 class="phpdocumentor-element__name" id="method___construct">
938944
<aside class="phpdocumentor-element-found-in">
939945
<abbr class="phpdocumentor-element-found-in__file" title="src/Collection/Index/FullTextIndex.php"><a href="files/src-collection-index-fulltextindex.html"><abbr title="src/Collection/Index/FullTextIndex.php">FullTextIndex.php</abbr></a></abbr>
940946
:
941-
<span class="phpdocumentor-element-found-in__line">33</span>
947+
<span class="phpdocumentor-element-found-in__line">34</span>
942948

943-
<a href="classes/ArangoDB-Collection-Index-FullTextIndex.html#source-view.33" class="phpdocumentor-element-found-in__source" data-line="33" data-modal="source-view" data-src="files/src/Collection/Index/FullTextIndex.php.txt"></a>
949+
<a href="classes/ArangoDB-Collection-Index-FullTextIndex.html#source-view.34" class="phpdocumentor-element-found-in__source" data-line="34" data-modal="source-view" data-src="files/src/Collection/Index/FullTextIndex.php.txt"></a>
944950
</aside>
945951

946952
<p class="phpdocumentor-summary">FullTextIndex constructor.</p>
@@ -1097,9 +1103,9 @@ <h4 class="phpdocumentor-element__name" id="method_getCreateData">
10971103
<aside class="phpdocumentor-element-found-in">
10981104
<abbr class="phpdocumentor-element-found-in__file" title="src/Collection/Index/FullTextIndex.php"><a href="files/src-collection-index-fulltextindex.html"><abbr title="src/Collection/Index/FullTextIndex.php">FullTextIndex.php</abbr></a></abbr>
10991105
:
1100-
<span class="phpdocumentor-element-found-in__line">54</span>
1106+
<span class="phpdocumentor-element-found-in__line">55</span>
11011107

1102-
<a href="classes/ArangoDB-Collection-Index-FullTextIndex.html#source-view.54" class="phpdocumentor-element-found-in__source" data-line="54" data-modal="source-view" data-src="files/src/Collection/Index/FullTextIndex.php.txt"></a>
1108+
<a href="classes/ArangoDB-Collection-Index-FullTextIndex.html#source-view.55" class="phpdocumentor-element-found-in__source" data-line="55" data-modal="source-view" data-src="files/src/Collection/Index/FullTextIndex.php.txt"></a>
11031109
</aside>
11041110

11051111
<p class="phpdocumentor-summary">Return data for create index on server</p>
@@ -1217,9 +1223,9 @@ <h4 class="phpdocumentor-element__name" id="method_getMinLength">
12171223
<aside class="phpdocumentor-element-found-in">
12181224
<abbr class="phpdocumentor-element-found-in__file" title="src/Collection/Index/FullTextIndex.php"><a href="files/src-collection-index-fulltextindex.html"><abbr title="src/Collection/Index/FullTextIndex.php">FullTextIndex.php</abbr></a></abbr>
12191225
:
1220-
<span class="phpdocumentor-element-found-in__line">44</span>
1226+
<span class="phpdocumentor-element-found-in__line">45</span>
12211227

1222-
<a href="classes/ArangoDB-Collection-Index-FullTextIndex.html#source-view.44" class="phpdocumentor-element-found-in__source" data-line="44" data-modal="source-view" data-src="files/src/Collection/Index/FullTextIndex.php.txt"></a>
1228+
<a href="classes/ArangoDB-Collection-Index-FullTextIndex.html#source-view.45" class="phpdocumentor-element-found-in__source" data-line="45" data-modal="source-view" data-src="files/src/Collection/Index/FullTextIndex.php.txt"></a>
12231229
</aside>
12241230

12251231
<p class="phpdocumentor-summary">Return index minimum length</p>
@@ -1572,12 +1578,12 @@ <h4 class="phpdocumentor-element__name" id="method_toArray">
15721578
<aside class="phpdocumentor-element-found-in">
15731579
<abbr class="phpdocumentor-element-found-in__file" title="src/Collection/Index/FullTextIndex.php"><a href="files/src-collection-index-fulltextindex.html"><abbr title="src/Collection/Index/FullTextIndex.php">FullTextIndex.php</abbr></a></abbr>
15741580
:
1575-
<span class="phpdocumentor-element-found-in__line">73</span>
1581+
<span class="phpdocumentor-element-found-in__line">74</span>
15761582

1577-
<a href="classes/ArangoDB-Collection-Index-FullTextIndex.html#source-view.73" class="phpdocumentor-element-found-in__source" data-line="73" data-modal="source-view" data-src="files/src/Collection/Index/FullTextIndex.php.txt"></a>
1583+
<a href="classes/ArangoDB-Collection-Index-FullTextIndex.html#source-view.74" class="phpdocumentor-element-found-in__source" data-line="74" data-modal="source-view" data-src="files/src/Collection/Index/FullTextIndex.php.txt"></a>
15781584
</aside>
15791585

1580-
<p class="phpdocumentor-summary">Returns a array representation of index</p>
1586+
<p class="phpdocumentor-summary">Returns an array representation of index</p>
15811587

15821588
<code class="phpdocumentor-code phpdocumentor-signature ">
15831589
<span class="phpdocumentor-signature__visibility">public</span>

docs/classes/ArangoDB-Collection-Index-GeoSpatialIndex.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ <h2 class="phpdocumentor-content__title">
273273
<a href="classes/ArangoDB-Collection-Index-GeoSpatialIndex.html#source-view.15" class="phpdocumentor-element-found-in__source" data-line="15" data-modal="source-view" data-src="files/src/Collection/Index/GeoSpatialIndex.php.txt"></a>
274274
</aside>
275275

276-
<p class="phpdocumentor-summary">Represents a geo-spatial index on a collection</p>
276+
<p class="phpdocumentor-summary">Represents a geospatial index on a collection</p>
277277

278278

279279

@@ -338,7 +338,7 @@ <h4 id="toc-properties">
338338
<span>
339339
&nbsp;: bool </span>
340340
</dt>
341-
<dd>If a geo-spatial index on a location is constructed
341+
<dd>If a geospatial index on a location is constructed
342342
and geoJson is true, then the order within the array is longitude
343343
followed by latitude.</dd>
344344

@@ -347,7 +347,7 @@ <h4 id="toc-properties">
347347
<span>
348348
&nbsp;: string </span>
349349
</dt>
350-
<dd>Index Id.</dd>
350+
<dd>Index ID.</dd>
351351

352352
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
353353
<a class="" href="classes/ArangoDB-Collection-Index-Index.html#property_indexTypes">$indexTypes</a>
@@ -502,7 +502,7 @@ <h4 id="toc-methods">
502502
<span>
503503
&nbsp;: array&lt;string|int, mixed&gt; </span>
504504
</dt>
505-
<dd>Returns a array representation of index</dd>
505+
<dd>Returns an array representation of index</dd>
506506

507507
</dl>
508508

@@ -619,7 +619,7 @@ <h4 class="phpdocumentor-element__name" id="property_geoJson">
619619
<a href="classes/ArangoDB-Collection-Index-GeoSpatialIndex.html#source-view.25" class="phpdocumentor-element-found-in__source" data-line="25" data-modal="source-view" data-src="files/src/Collection/Index/GeoSpatialIndex.php.txt"></a>
620620
</aside>
621621

622-
<p class="phpdocumentor-summary">If a geo-spatial index on a location is constructed
622+
<p class="phpdocumentor-summary">If a geospatial index on a location is constructed
623623
and geoJson is true, then the order within the array is longitude
624624
followed by latitude.</p>
625625

@@ -675,7 +675,7 @@ <h4 class="phpdocumentor-element__name" id="property_id">
675675
<a href="classes/ArangoDB-Collection-Index-GeoSpatialIndex.html#source-view.24" class="phpdocumentor-element-found-in__source" data-line="24" data-modal="source-view" data-src="files/src/Collection/Index/Index.php.txt"></a>
676676
</aside>
677677

678-
<p class="phpdocumentor-summary">Index Id.</p>
678+
<p class="phpdocumentor-summary">Index ID.</p>
679679

680680

681681
<code class="phpdocumentor-code phpdocumentor-signature ">
@@ -1593,7 +1593,7 @@ <h4 class="phpdocumentor-element__name" id="method_toArray">
15931593
<a href="classes/ArangoDB-Collection-Index-GeoSpatialIndex.html#source-view.71" class="phpdocumentor-element-found-in__source" data-line="71" data-modal="source-view" data-src="files/src/Collection/Index/GeoSpatialIndex.php.txt"></a>
15941594
</aside>
15951595

1596-
<p class="phpdocumentor-summary">Returns a array representation of index</p>
1596+
<p class="phpdocumentor-summary">Returns an array representation of index</p>
15971597

15981598
<code class="phpdocumentor-code phpdocumentor-signature ">
15991599
<span class="phpdocumentor-signature__visibility">public</span>

docs/classes/ArangoDB-Collection-Index-HashIndex.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ <h4 id="toc-properties">
356356
<span>
357357
&nbsp;: string </span>
358358
</dt>
359-
<dd>Index Id.</dd>
359+
<dd>Index ID.</dd>
360360

361361
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
362362
<a class="" href="classes/ArangoDB-Collection-Index-Index.html#property_indexTypes">$indexTypes</a>
@@ -708,7 +708,7 @@ <h4 class="phpdocumentor-element__name" id="property_id">
708708
<a href="classes/ArangoDB-Collection-Index-HashIndex.html#source-view.24" class="phpdocumentor-element-found-in__source" data-line="24" data-modal="source-view" data-src="files/src/Collection/Index/Index.php.txt"></a>
709709
</aside>
710710

711-
<p class="phpdocumentor-summary">Index Id.</p>
711+
<p class="phpdocumentor-summary">Index ID.</p>
712712

713713

714714
<code class="phpdocumentor-code phpdocumentor-signature ">

0 commit comments

Comments
 (0)