Skip to content

Commit 2662749

Browse files
lcawlpolyfractal
authored andcommitted
[DOCS] Adds anchor IDs (#848)
1 parent 0be4afd commit 2662749

17 files changed

+20
-13
lines changed

docs/breaking-changes.asciidoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
[[breaking_changes]]
12
== Breaking changes from 5.x
23

34
None! :)

docs/community.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1+
[[community_dsls]]
22
== Community DSLs
33

44
=== ElasticsearchDSL

docs/configuration.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1+
[[configuration]]
22
== Configuration
33

44
Almost every aspect of the client is configurable. Most users will only need to configure a few parameters to suit

docs/connection-pool.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1+
[[connection_pool]]
22
== Connection Pool
33

44
The connection pool is an object inside the client that is responsible for maintaining the current list of nodes.

docs/crud.asciidoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1+
[[indexing_documents]]
22
== Indexing Documents
33

44
When you add documents to Elasticsearch, you index JSON documents. This maps naturally to PHP associative arrays, since
@@ -129,6 +129,7 @@ if (!empty($params['body'])) {
129129
}
130130
----
131131

132+
[[getting_documents]]
132133
== Getting Documents
133134

134135
Elasticsearch provides realtime GETs of documents. This means that as soon as the document has been indexed and your
@@ -148,6 +149,7 @@ $response = $client->get($params);
148149
----
149150
{zwsp} +
150151

152+
[[updating_documents]]
151153
== Updating Documents
152154

153155
Updating a document allows you to either completely replace the contents of the existing document, or perform a partial
@@ -228,7 +230,7 @@ $response = $client->update($params);
228230
----
229231
{zwsp} +
230232

231-
233+
[[deleting_documents]]
232234
== Deleting documents
233235

234236
Finally, you can delete documents by specifying their full `/index/type/id` path:

docs/futures.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1+
[[future_mode]]
22
== Future Mode
33

44
The client offers a mode called "future" or "async" mode. This allows batch processing of requests (sent in parallel

docs/index-operations.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1+
[[index_management]]
22
== Index Management Operations
33

44
Index management operations allow you to manage the indices in your Elasticsearch cluster, such as creating, deleting and

docs/installation.asciidoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
[[installation]]
12
== Installation
23

34
Elasticsearch-php only has a three requirements that you need to worry about:

docs/namespaces.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1+
[[namespaces]]
22
== Namespaces
33

44
The client has a number of "namespaces", which generally expose administrative

docs/overview.asciidoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
[[overview]]
12
== Overview
23

34
This is the official PHP client for Elasticsearch. It is designed to be a very low-level client that does not stray from the REST API.

0 commit comments

Comments
 (0)