Topic on Extension talk:CirrusSearch

Suggestion: Make it possible to only search within certain slots

1
197.235.220.190 (talkcontribs)

Use cases:

Searching only content of pdf files (assuming it ever gets moved to a separate slot).

Exclude text from structured data:

Currently searching for "P180" in commons finds (c:Special:Search/P180 ) stuff from a different slot that isn't even included in the page source nor any of its templates.

Suggested solution:

A keyword to exclude or include slots, e,g, "slot:wikitext", "slot:filedata", "slot:structured/ mediainfo".


Currently, insource serves as a reasonable workaround, but will fail in cases where the content come from a template, for instance in the P180 case above, one could try doing something like ' "P180" -insource:P180' or ; 'Academia argentina muestran los primeros 5 -insource:"Academia argentina muestran los primeros 5" ' . But that would exclude pages that include the search string in both wikitext and file contents.

Reply to "Suggestion: Make it possible to only search within certain slots"