diff --git a/pkgs/racket-index/scribblings/main/private/make-search.rkt b/pkgs/racket-index/scribblings/main/private/make-search.rkt index bae9afbd73..1ce267fa6c 100644 --- a/pkgs/racket-index/scribblings/main/private/make-search.rkt +++ b/pkgs/racket-index/scribblings/main/private/make-search.rkt @@ -168,7 +168,14 @@ [(exported-index-desc? desc) (let ([libs (map lib->name (exported-index-desc-from-libs desc))]) (string-append* `("[" ,@(add-between libs ",") "]")))] - [(module-path-index-desc? desc) "\"module\""] + [(module-path-index-desc? desc) + (cond + [(language-index-desc? desc) + "\"language\""] + [(reader-index-desc? desc) + "\"reader\""] + [else + "\"module\""])] [else "false"])) (and href (string-append "[" (quote-string text) "," diff --git a/pkgs/racket-index/scribblings/main/private/search.js b/pkgs/racket-index/scribblings/main/private/search.js index 2ac4606b8f..7443f1b13b 100644 --- a/pkgs/racket-index/scribblings/main/private/search.js +++ b/pkgs/racket-index/scribblings/main/private/search.js @@ -119,10 +119,17 @@ function InitializeSearch() { +' identifiers from modules that (partially) match' +' “str”; “M:” by' +' itself will restrict results to bound names only.' + +'
  • Use “H:str” to match only' + +' modules that implement a language' + +' “#lang str”.
  • ' + +'
  • Use “R:str” to match only' + +' modules that implement a reader module' + +' “#reader str”.
  • ' +'
  • L:str” is similar to' +' “M:str”, but' +' “str” should match the module name' - +' exactly.
  • ' + +' exactly; “M:” by' + +' itself will restrict results to module names only.' +'
  • T:str” restricts results to ones in' +' the “str” manual (naming the' +' directory where the manual is found).
  • ' @@ -193,6 +200,8 @@ function InitializeSearch() { +' few common choices:' +'