Skip to content

Commit 7e02dbc

Browse files
authored
Apply suggestions from code review
1 parent 9b0cb71 commit 7e02dbc

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/data-infrastructure/indexers.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,11 @@ Another example that highlights the need for a "wide query" is when you use a se
9494

9595
## Indexers in the NEAR ecosystem
9696

97-
There are [multiple indexing options](../tools/data-services.md) available in the NEAR ecosystem. If you are ready to host your own indexer, we recommend using the [Near Lake Framework](./lake-framework/near-lake) as it is simple, reliable, and available in multiple languages (JavaScript, Rust, Python).
97+
There are [multiple indexing options](../tools/data-services.md) available in the NEAR ecosystem. If you are ready to host your own indexer, we recommend using the [Near Lake Framework](./lake-framework/near-lake.md) as it is simple, reliable, and available in multiple languages (JavaScript, Rust, Python).
9898

99-
If speed is critically important for your indexing needs, consider using the [Near Indexer](./near-indexer.md). However, please note that maintaining it can be more complex and costly, as it essentially operates as an independent node in the network.
99+
If speed is critical for your indexing needs, consider using [Near Indexer](./near-indexer.md). However, please note that maintaining it can be more complex and costly, as it essentially operates as an independent node in the network.
100100

101-
If you prefer not to host your own solution, you can utilize [partner services](../tools/data-services.md).
101+
If you prefer not to host your own solution, you can utilize [third-party services](../tools/data-services.md).
102102

103103
---
104104

docs/data-infrastructure/tutorials/near-indexer.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ After we finish initializing the indexer, and configuring it, we can start it by
132132
<details>
133133
<summary>How it works</summary>
134134

135-
- The command initializes indexer configuration: home directory, sync mode, streaming mode, finality, etc.
136-
- Creates a Tokio runtime on a dedicated thread
135+
- The command initializes the indexer's configuration: home directory, sync mode, streaming mode, finality, etc.
136+
- Creates a Tokio runtime on a dedicated thread.
137137
- Creates an instance of the Indexer using the provided configuration, starts it, and streams blocks to our handler. Within the handler (`listen_blocks` method), there is an infinite loop that parses block data for each new block received.
138138

139139
<Github fname="main.rs" language="rust"
@@ -148,7 +148,7 @@ After we finish initializing the indexer, and configuring it, we can start it by
148148

149149
## Parsing the Block Data
150150

151-
Within `listen_blocks` method, we can parse the block data as we get it from the stream. From the block data, we can access the transactions, their receipts and actions. See the code below for an example of how to parse the block data:
151+
Within the `listen_blocks` method, we can parse the block data as it flows from the stream. From the block data, we can access the transactions, their receipts, and actions. See the code below for an example of how to parse the block data:
152152

153153
<Github fname="main.rs" language="rust"
154154
url="https://github.com/near/nearcore/blob/master/tools/indexer/example/src/main.rs"

0 commit comments

Comments
 (0)