https://bugzilla.wikimedia.org/show_bug.cgi?id=30840
Web browser: ---
Bug #: 30840
Summary: Highlighting of non-Latin characters (SphinxMWSearch
0.8.1)
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: SphinxSearch
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Conversion from [1]
While testing the new interface we encountered a problem with non-Latin
characters (we tested Japanese and Chinese) and the highlighting of the search
term on the output page. In earlier versions the search term was highlighted in
the result output (Latin as well as non-Latin characters), now in the standard
MW search results are displayed but without highlighting the particular search
term (it does work with Latin characters). --[[User:MWJames|MWJames]] 07:03, 7
September 2011 (UTC)
: What is the value of $wgSphinxSearchMWHighlighter in your case? [[User:Svemir
Brkic|Svemir Brkic]] 13:43, 7 September 2011 (UTC)
:: We did a combined search (a Latin character word together with a Japanese
character) with alternating settings $wgSphinxSearchMWHighlighter = true; and
$wgSphinxSearchMWHighlighter = false; (also with $wgAdvancedSearchHighlighting
= true set), the result page would show results with both terms, but only the
Latin character word would get highlighted.
::: I can replicate the issue, but the problem seems to be in sphinxsearch
engine itself. When I let MW do the highlighting, I get garbled characters
(probably because I tested with cyrillic characters in otherwise English wiki)
and when I let sphinx do the highlighting, results look correct, but non-latin
words are not highlighted. Highlighting code is the same as before (again,
extension is not really doing any highlighting, it just gives the text and the
terms to sphinxsearch engine.) Probably something related to utf8 encoding.
[[User:Svemir Brkic|Svemir Brkic]] 03:11, 9 September 2011 (UTC)
[1]
http://www.mediawiki.org/wiki/Extension_talk:SphinxSearch#SphinxMWSearch_0.8.3B_Highlighting_of_non-Latin_characters_doesn.27t_work
--
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l