Merge pull request #3434 from InspectorCaracal/help-fixes-1
Patches to improve "help" usability
This commit is contained in:
commit
ca6ea0c0aa
3 changed files with 5 additions and 14 deletions
|
|
@ -480,9 +480,9 @@ class CmdHelp(COMMAND_DEFAULT_CLASS):
|
|||
# lunr search fields/boosts
|
||||
search_fields = [
|
||||
{"field_name": "key", "boost": 10},
|
||||
{"field_name": "aliases", "boost": 9},
|
||||
{"field_name": "no_prefix", "boost": 8},
|
||||
{"field_name": "category", "boost": 7},
|
||||
{"field_name": "aliases", "boost": 7},
|
||||
{"field_name": "no_prefix", "boost": 6},
|
||||
{"field_name": "category", "boost": 5},
|
||||
{"field_name": "tags", "boost": 1}, # tags are not used by default
|
||||
]
|
||||
match, suggestions = None, None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue