Skip to content

Commit fe91f82

Browse files
Address review comments
1 parent 2259a74 commit fe91f82

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/code-search/code-navigation/inference_configuration.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -235,17 +235,17 @@ them without good reason. So it's better to have them at least
235235
reach out to us first, and we can advise them on a case-by-case basis.
236236
-->
237237

238-
If the number of auto-indexing jobs and/or paths exceeds these limits, excess jobs and/or paths will be sorted based on the following ordering and trailing jobs will be discarded:
238+
Auto-indexing jobs and paths are first ranked based on the criteria described below. If the number of jobs and/or paths exceeds the limits above, lower ranked items are discarded.
239239

240-
- For auto-indexing jobs, sorting happens in the following order:
240+
- For auto-indexing jobs, ranking is done based on the following:
241241

242242
- Descending order of indexer frequency (total number of inferred jobs with the same `indexer` field).
243-
- Lexicographic ordering of `indexer`.
243+
- Ascending lexicographic ordering of `indexer`.
244244
- Descending order of number of path components for `root`. Shallower roots are preferrred over deeper ones as they are more likely to cover more code.
245-
- Lexicographic ordering of `root` paths.
245+
- Ascending lexicographic ordering of `root` paths.
246246

247-
- For paths, sorting happens in the following order:
247+
- For paths, ranking happens in the following order:
248248

249-
- Paths for which the contents are requested come before other paths.
250-
- Paths with fewer components come before paths with more components.
251-
- Otherwise, paths are ordered lexicographically.
249+
- Paths for which the contents are requested are ranked higher.
250+
- Paths with fewer components are ranked higher.
251+
- Otherwise, lexicographic ordering of paths is used.

0 commit comments

Comments
 (0)