Skip to content

Commit 3003256

Browse files
committed
Move note
1 parent b3ef1d3 commit 3003256

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/internal/GeneralArchitectureGuide.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ The node that a REST request arrives at is called the "coordinating" node. Its j
1717

1818
By default, all nodes will act as coordinating nodes, but by specifying `node.roles` to be empty you can create a [coordinating-only node](https://www.elastic.co/guide/en/elasticsearch/reference/current/node-roles-overview.html#coordinating-only-node-role).
1919

20-
> [!NOTE]
21-
> `Rest*Action` classes often have a corresponding `Transport*Action`, this naming convention makes it easy to locate the corresponding [RestHandler] for a [TransportAction]. (e.g. `RestGetAction` calls `TransportGetAction`)
22-
2320
### REST Layer
2421

2522
[BaseRestHandler]:https://github.com/elastic/elasticsearch/blob/main/server/src/main/java/org/elasticsearch/rest/BaseRestHandler.java
@@ -34,6 +31,9 @@ Each REST endpoint is defined by a [RestHandler] instance. [RestHandler] impleme
3431

3532
The sub-classes of [BaseRestHandler], usually named `Rest*Action`, are the entry-points to the cluster, where HTTP requests from outside the cluster are translated into internal [TransportAction] invocations.
3633

34+
> [!NOTE]
35+
> `Rest*Action` classes often have a corresponding `Transport*Action`, this naming convention makes it easy to locate the corresponding [RestHandler] for a [TransportAction]. (e.g. `RestGetAction` calls `TransportGetAction`)
36+
3737
### Transport Layer
3838

3939
[ActionRequest]:https://github.com/elastic/elasticsearch/blob/main/server/src/main/java/org/elasticsearch/action/ActionRequest.java

0 commit comments

Comments
 (0)