You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
scripts: kconfig: improve search results ordering using scoring
This implements the same improved sorting algorithm as was recently
added to the documentation (see zephyrproject-rtos#98016),
namely:
- A match in a Kconfig symbol's name is given more weight than a match
in its prompt.
- Field-length normalization is applied so that the shorter the field,
the higher its relevance (e.g. searching for "sensor" will now
basically yield CONFIG_SENSOR as the top result as the query basically
matches 100% of the symbol's name.
Signed-off-by: Benjamin Cabé <[email protected]>
0 commit comments