Skip to content

Commit f9ac055

Browse files
authored
Fix some links in architecture docs (#2528)
1 parent 21d0570 commit f9ac055

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ARCHITECTURE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The file of a segment has the format
4646

4747
```segment-id . ext```
4848

49-
The extension signals which data structure (or [`SegmentComponent`](src/core/segment_component.rs)) is stored in the file.
49+
The extension signals which data structure (or [`SegmentComponent`](src/index/segment_component.rs)) is stored in the file.
5050

5151
A small `meta.json` file is in charge of keeping track of the list of segments, as well as the schema.
5252

@@ -102,7 +102,7 @@ but users can extend tantivy with their own implementation.
102102

103103
Tantivy's document follows a very strict schema, decided before building any index.
104104

105-
The schema defines all of the fields that the indexes [`Document`](src/schema/document.rs) may and should contain, their types (`text`, `i64`, `u64`, `Date`, ...) as well as how it should be indexed / represented in tantivy.
105+
The schema defines all of the fields that the indexes [`Document`](src/schema/document/mod.rs) may and should contain, their types (`text`, `i64`, `u64`, `Date`, ...) as well as how it should be indexed / represented in tantivy.
106106

107107
Depending on the type of the field, you can decide to
108108

0 commit comments

Comments
 (0)