Page MenuHomePhabricator

[Spike] Comparison test cases - Commons Special:Search and Special:MediaSearch
Closed, ResolvedPublic

Description

Create a comprehensive set of test cases (based on Help:CirrusSearch) to evaluate search functionality on Special:Search and Special:MediaSearch in the following areas:
(1) suggestions/autocomplete
(2) various search queries with

  • empty search/diacritical marks
  • wild card
  • prefix
  • Boolean

(3) identify Special:Search functionality that is not currently present on Special:MediaSearch

Event Timeline

@Cparle - the test cases for review are in Search test cases comparison - Commons search vs MediaSearch - any feedback is appreciated.

In the google doc I highlighted the cases where Special:MediaSearch functionality differs from
Special:Search; they probably need some evaluation whether they are applicable to MediaSearch.

@Etonkovidova - I have added a few comments to that ... also:

T257295 (probably live next week) may solve lines 17, 25, 32, 47 and 48
T251940 (merged, should be live this week) may solve line 16
T252692 covers line 27 and line 40-43

Testing note:

e.g.

Screen Shot 2020-07-24 at 1.26.13 PM.png (596×1 px, 1 MB)

Captions, wikitext & filenames will indeed all be included when searching.
However, "paris" should not be matched when searching for "iris" or "irises". Do you have an example of where that was the case?
Most of the not too obvious matches I could find for "iris" were because the wikitext contained the photographer's name, "iris".

Added one more test case to the spreadsheet

  • long queries
    • Special:MediaSearch** - long queries will never finish searching (the page searching indicator keeps going) although there is an error is identified:
"error":{"code":"cirrussearch-query-too-long","info":"Search request is longer than the maximum allowed length. (462 > 300)"

Special:Search - long queries would take quite a short time to display "There were no results matching the query."

Captions, wikitext & filenames will indeed all be included when searching.
However, "paris" should not be matched when searching for "iris" or "irises". Do you have an example of where that was the case?
Most of the not too obvious matches I could find for "iris" were because the wikitext contained the photographer's name, "iris".

Hmm... re-tested it - and iris won't return any files with Paris. And, overall, I could not find any cases of partial matches.

Hi @Etonkovidova - now that we have the list of test cases, can we close this task?

Hi @Etonkovidova - now that we have the list of test cases, can we close this task?

Thanks @CBogen for reminding - I marked the task as Resolved.