summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2019-08-23 06:50:58 -0300
committerOlivier Hallot <olivier.hallot@libreoffice.org>2019-10-01 15:00:44 +0200
commitaa45ded698f25e8d3bc8eef621d727186fe18dd2 (patch)
tree705428909416c1e243d29db6cb909ce2b3f10eee /source
parent5b3e68e1ce0a3bc5893bb487c6d85ef4d3f9bfed (diff)
redmine#2555 replace Help online Google search
This is the helpcontent2/ part of the patch. Add xapian-omega search to online Help. The patch replaces Google custom search with xapian-omega search. A new build key is introduced. --with-omindex=server : Localizes and adds the xapian result page template, adds the xapian form to each Help page. --with-omindex=noxap : do not localize the result template and do not add a form in the Help page. --with-omindex= will force Online Help build. Default is noxap NOTES: - xapian-omega databases are built in the server. - searches returns results only on localized Help pages, avoiding same resulis in many languages. TODO: - Tweak the xapian-omega result page CSS and markup. Change-Id: I3dc2b79c4111f61fd5fea01b1f8c95bfacab1e8f Reviewed-on: https://gerrit.libreoffice.org/79366 Tested-by: Jenkins Reviewed-by: Guilhem Moulin <guilhem@libreoffice.org> Tested-by: Guilhem Moulin <guilhem@libreoffice.org>
Diffstat (limited to 'source')
-rw-r--r--source/text/shared/help/browserhelp.xhp16
1 files changed, 16 insertions, 0 deletions
diff --git a/source/text/shared/help/browserhelp.xhp b/source/text/shared/help/browserhelp.xhp
index e4245d1432..1f3cba850a 100644
--- a/source/text/shared/help/browserhelp.xhp
+++ b/source/text/shared/help/browserhelp.xhp
@@ -95,5 +95,21 @@
<paragraph role="paragraph" id="lang_id611525748224412" xml-lang="en-US"><variable id="vi">Vietnamese</variable></paragraph>
<paragraph role="paragraph" id="lang_id981525748227614" xml-lang="en-US"><variable id="zh-CN">Chinese (Simplified)</variable></paragraph>
<paragraph role="paragraph" id="lang_id361525748230858" xml-lang="en-US"><variable id="zh-TW">Chinese (Traditional)</variable></paragraph>
+ <!-- xapian pages -->
+ <paragraph role="paragraph" id="xap_id731567798901011"><variable id="xap_next">Next</variable></paragraph>
+ <paragraph role="paragraph" id="xap_id651567798907947"><variable id="xap_previous">Previous</variable></paragraph>
+ <paragraph role="paragraph" id="par_id381567799640454"><variable id="xap_modified">Modified:</variable></paragraph>
+ <paragraph role="paragraph" id="par_id411567800419493"><variable id="xap_searching_doc">Searching $nice{$dbsize} documents</variable></paragraph>
+ <paragraph role="paragraph" id="par_id281567800425143"><variable id="xap_allmatches">All $nice{$msize} matches</variable></paragraph>
+ <paragraph role="paragraph" id="par_id401567800429827"><variable id="xap_searchtime">Search took $time seconds</variable></paragraph>
+ <paragraph role="paragraph" id="par_id671567860834840"><variable id="xap_no_match">No documents match your query</variable></paragraph>
+ <paragraph role="paragraph" id="par_id991568223765528"><variable id="xap_match_all">Matching all words</variable></paragraph>
+ <paragraph role="paragraph" id="par_id251568223770924"><variable id="xap_match_any">Matching any words</variable></paragraph>
+ <paragraph role="paragraph" id="par_id111568264237145"><variable id="xap_about">of about $nice{$msize} matches</variable></paragraph>
+ <paragraph role="paragraph" id="par_id261568264244822"><variable id="xap_exactly">of exactly $nice{$msize} matches</variable></paragraph>
+ <paragraph role="paragraph" id="par_id91568265911789"><variable id="xap_term_frequencies">Term frequencies: </variable></paragraph>
+ <paragraph role="paragraph" id="par_id901568266092266"><variable id="xap_matching">matching:</variable></paragraph>
+ <paragraph role="paragraph" id="par_id511568266279483"><variable id="xap_relevant">Mark this document as relevant</variable></paragraph>
+ <paragraph role="paragraph" id="par_id841569449577334"><variable id="xap_didyoumean">Did you mean:</variable></paragraph>
</body>
</helpdocument>