Advanced search issues where category name contains a space


(TechnoBear) #1

Example from here on Meta.

Search for the term global - results from various categories will appear, including “bug” and “discourse hub”.

Search for global category:bug - relevant results are shown as expected.

Search for global category:discourse hub - no results appear.
Search for global category:'discourse hub' - no results appear.
Search for global category:"discourse hub" - 11 results appear.
Search for global category:discourse_hub - 11 results appear.

There is nothing in the search help to state double quotes or an underscore are required.

(Jeff Atwood) #2

Yeah category names with spaces are problematic. We should include an example of a search using a category with space in it, in the current help copy, perhaps @techapj can update it?

(Arpit Jalan) #3

Okay, I added an example for category name with space.

(Alan Tan) #4