Skip to content

Commit

Permalink
Fix some links in architecture docs (#2528)
Browse files Browse the repository at this point in the history
  • Loading branch information
jotare authored Oct 23, 2024
1 parent 21d0570 commit f9ac055
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ The file of a segment has the format

```segment-id . ext```

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

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

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

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

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.
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.

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

Expand Down

0 comments on commit f9ac055

Please sign in to comment.