Fix wiki search query

and formatting error in a doc file.

By searching on category, we'll use the index rather than a full table scan to narrow the possible matches.

@symbolist @cpennington or @dianakhuang please review.