Skip to content

Commit b3ef1d3

Browse files
committed
Add hint about action naming
1 parent dfc3951 commit b3ef1d3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/internal/GeneralArchitectureGuide.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ 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+
2023
### REST Layer
2124

2225
[BaseRestHandler]:https://github.com/elastic/elasticsearch/blob/main/server/src/main/java/org/elasticsearch/rest/BaseRestHandler.java

0 commit comments

Comments
 (0)