Page MenuHomePhabricator

Cirrussearch Error "An error has occurred while searching" due to comma used as decimal separator
Closed, ResolvedPublic

Description

  • Tried to search for "test"
  • the quick search box gave an result
  • after clicking on "containing ... test" the following error occured
  • the cirrussearch error.log:
error.log
2018-03-16 14:34:24 wiki mediawiki: Title search result type hit a match but we can't figure out what caused the match:  0:Testseite
2018-03-16 14:34:24 wiki mediawiki: Title search result type hit a match but we can't figure out what caused the match:  0:Testliste
2018-03-16 14:34:24 wiki mediawiki: Title search result type hit a match but we can't figure out what caused the match:  0:Testseite
2018-03-16 14:34:24 wiki mediawiki: Title search result type hit a match but we can't figure out what caused the match:  0:Testliste
2018-03-16 14:34:26 wiki mediawiki: Search backend error during full_text search for 'test' after 6: number_format_exception: For input string: "0,5"
  • Browser tested:
    • Chrome
    • Firefox
    • Edge
  • Version:
    • MediaWiki 1.30.0 (4c97eee)
    • PHP 5.6.33-0+deb8u1 (apache2handler)
    • MySQL 5.5.59-0+deb8u1
    • ICU 52.1
    • Elasticsearch 5.4.3
    • CirrusSearch 0.2 (043d223)

Event Timeline

Restricted Application added projects: Discovery, Discovery-Search. · View Herald TranscriptMar 16 2018, 2:55 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
EBjune added a subscriber: dcausse.Mar 16 2018, 7:08 PM
EBjune added a subscriber: EBjune.

Workaround: Back to 1.29.2 (3e13d5a) and everything is working again

Change 421705 had a related patch set uploaded (by DCausse; owner: DCausse):
[mediawiki/extensions/CirrusSearch@master] Fix type convertion and actually use float for ns weights

https://gerrit.wikimedia.org/r/421705

dcausse moved this task from in progress to Needs review on the Discovery-Search (Current work) board.
dcausse claimed this task.
dcausse renamed this task from Cirrussearch Error "An error has occurred while searching" to Cirrussearch Error "An error has occurred while searching" due to comma used as decimal separator.

Change 421843 had a related patch set uploaded (by DCausse; owner: DCausse):
[mediawiki/extensions/CirrusSearch@REL1_30] Fix type convertion and actually use float for ns weights

https://gerrit.wikimedia.org/r/421843

Change 421705 merged by jenkins-bot:
[mediawiki/extensions/CirrusSearch@master] Fix type convertion and actually use float for ns weights

https://gerrit.wikimedia.org/r/421705

Change 421843 merged by jenkins-bot:
[mediawiki/extensions/CirrusSearch@REL1_30] Fix type convertion and actually use float for ns weights

https://gerrit.wikimedia.org/r/421843

debt closed this task as Resolved.Apr 3 2018, 3:52 PM