https://bugzilla.wikimedia.org/show_bug.cgi?id=24775

           Summary: Make prefix: operator work with multiple word titles
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Lucene Search
        AssignedTo: rain...@eunet.rs
        ReportedBy: wal...@email.com


It seems the "prefix:" search operator doesn't deal well with spaces: it uses
the correct prefix for the search, but also searches for the words of the
prefix in the text of the pages, which yields undesired results.

I tried using underscores (prefix:the_prefix) and quotation marks (prefix:"the
prefix"), but both returned no results. Maybe the underscore trick could be
used as a workaround. That would also allow using the operator anywhere on the
search, not only on the ending. Another option could be enclosing it in parens,
i.e. "some search terms (prefix:a page name) more search terms"

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to