Skip to content

Commit

Permalink
update search index docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkeldenker committed Dec 3, 2024
1 parent 99a5c17 commit 6118c57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/architecture/search_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ The ranking happens in multiple stages. Some of these stages occur at the shard
3. If a lambdamart model has been defined, the best results from the linear regression stage gets passed into the lambdamart model.
- Combining results from all shards
1. Results from each shard are re-ranked using both the linear regression and lambdamart models. This ensures the scores can be properly compared and ordered.
2. The best 20 results, corresponding to the first page, gets scored with a cross encoder and again ranked using the linear regression followed by the lambdamart model.
2. Multiple ranking stages gets applied in the ranking [pipeline](https://github.com/StractOrg/stract/tree/main/crates/core/src/ranking/pipeline) until the top 20 results are found.

0 comments on commit 6118c57

Please sign in to comment.