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

--- Comment #3 from Nik Everett <[email protected]> ---
The following searches seem to find it just fine:
https://test2.wikipedia.org/w/index.php?title=Special%3ASearch&profile=all&search=Savepage-greyed.png&fulltext=Search&srbackend=CirrusSearch

https://test2.wikipedia.org/w/index.php?title=Special%3ASearch&profile=all&search=Savepage&fulltext=Search

https://test2.wikipedia.org/w/index.php?title=Special%3ASearch&profile=all&search=greyed.png&fulltext=Search

https://test2.wikipedia.org/w/index.php?title=Special%3ASearch&profile=all&search=screenshot&fulltext=Search

But this searches didn't find the file and probably should:
https://test2.wikipedia.org/w/index.php?title=Special%3ASearch&profile=all&search=greyed&fulltext=Search

I seems to be not working because Savepage-greyed.png is tokenized as "savepag"
and "greyed.png" [1] which isn't really what we want.  I'm not sure what we do
want though.  Maybe "savepag" and "grey" and ".png".


[1] Running
http://<elasticsearch_host>:9200/nikwiki_general/_analyze?analyzer=text&text=Savepage-greyed.png
spits out
{
  "tokens": [
    {
      "token": "savepag",
      "start_offset": 0,
      "end_offset": 8,
      "type": "<ALPHANUM>",
      "position": 1
    },
    {
      "token": "greyed.png",
      "start_offset": 9,
      "end_offset": 19,
      "type": "<ALPHANUM>",
      "position": 2
    }
  ]
}

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to