Translations:Help:Extension:AdvancedSearch/24/en

In the section "Search in" you can select the namespaces you want to search in. You can either choose one of the namespace presets (e.g. "Discussion"), type the desired namespaces or select them from a dropdown list. You can save your selection by checking "Remember selection for future searches".