Skip to content

Commit

Permalink
Add link to TOC
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Widdis <[email protected]>
  • Loading branch information
dbwiddis committed Jul 9, 2023
1 parent 4b919e4 commit 1b8229a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions CREATE_YOUR_FIRST_EXTENSION.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
* [Obtain network address and port information](#obtain-network-address-and-port-information)
* [Implement the _`Extension`_ interface](#implement-the-_-extension-_-interface)
* [Implement other interfaces and extension points](#implement-other-interfaces-and-extension-points)
* [Use OpenSearch clients to implement functionality](#use-opensearch-clients-to-implement-functionality)
* [Use OpenSearch Java Client to implement functionality](#use-opensearch-java-client-to-implement-functionality)
* [Defining a Document class](#defining-a-document-class)
* [Creating (PUT) a document in an index](#creating-put-a-document-in-an-index)
* [Reading (GET) a document in an index](#reading-get-a-document-in-an-index)
* [Updating (POST) a document in an index](#updating-post-a-document-in-an-index)
Expand Down Expand Up @@ -208,7 +209,7 @@ public class CrudAction extends BaseExtensionRestHandler {
}
```

## Use OpenSearch clients to implement functionality
## Use OpenSearch Java Client to implement functionality

To use the OpenSearch REST API, you will need an instance of the OpenSearch Java Client.

Expand All @@ -225,7 +226,7 @@ public CrudAction() {
}
```

### Define a Document class
### Defining a Document class

For our CRUD sample we will create a simple Java class with a single field.

Expand Down

0 comments on commit 1b8229a

Please sign in to comment.