Description: 1) Start LibreOffice 2) Open the LibreOffice Help (F1) or via the Help Menu 3) For example, type in ODBC 4) Check the results list, and notice that the list contains results in which the letters O,D,B, and C appear in any order within the result string. 5) Most of the displayed results are either irrelevant or misleading. Steps to Reproduce: See above Actual Results: Irrelevant result string list displayed Expected Results: Only results containing the searched for string should appear. Reproducible: Always User Profile Reset: No Additional Info: Version: 7.2.1.2 / LibreOffice Community Build ID: 87b77fad49947c1441b67c559c339af8f3517e22 CPU threads: 8; OS: Mac OS X 11.5.2; UI render: default; VCL: osx Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR Calc: threaded
We have recently improved the index search https://gerrit.libreoffice.org/c/help/+/122312 Can you please check with the recent online update for master at https://help.libreoffice.org/7.3/en-US/text/swriter/main0000.html and check if it has improved. We can back port to 7.2. The search for O, D, B, C is by design.
Are you searching through the index or through the whole content? Even with the index filter, which has fuzzy search, I get ODBC -- definition database settings -- ODBC date/time draw objects -- displaying (Calc) which doesn't seem bad. The fuzziness is there to account for typos and give flexibility in general. Content search for ODBC on the other hand only gives exact results.
Created attachment 175214 [details] Screenshot of search results after launching Help from main application window (StartCenter)
(In reply to Buovjaga from comment #2) > Are you searching through the index or through the whole content? > See the enclosed screenshot (taken with 7152 but the results are the same). Presumably I'm searching through the Index ? The only result that is relevant there is the first one. None of the other displayed results are relevant.
(In reply to Olivier Hallot from comment #1) > We have recently improved the index search > > https://gerrit.libreoffice.org/c/help/+/122312 > > Can you please check with the recent online update for master at > > https://help.libreoffice.org/7.3/en-US/text/swriter/main0000.html > > and check if it has improved. We can back port to 7.2. > > The search for O, D, B, C is by design. Testing with Version: 7.3.0.0.alpha0+ / LibreOffice Community Build ID: bc7baa18435000f47f90e47d3300710bcb4cf56b CPU threads: 8; OS: Mac OS X 10.16; UI render: default; VCL: osx Locale: fr-FR (fr_FR.UTF-8); UI: en-US Calc: threaded The same search in the Index only gives 3 results, of which one is totally irrelevant. The design is not a particularly logical one IMHO from a user experience point of view if it searches independent occurrences of the letters. The old help had a Content search feature that allowed you to search the whole content, is this global search function present in the new help system ?
Created attachment 175218 [details] Comparison with the content search feature of AOO I've enclosed a screenshot of a search for the same string in the Search tab of Apache OpenOffice. Notice the more relevant list of results here compared to LibreOffice.
The online help has the content search. I will tweak the fuzziness aspect, when I move from fuzzysort to Flexsearch as the JS search library.
Is there something I haven't understood here ? With the LibreOffice app bundle, the included help doesn't have content search. Should I open a separate bug report for that ?
(In reply to Alex Thurgood from comment #8) > Is there something I haven't understood here ? > > With the LibreOffice app bundle, the included help doesn't have content > search. > > Should I open a separate bug report for that ? The content search is only implemented in the online version of the Help. It uses Xapian and Omindex, and requires a web server. https://xapian.org/docs/omega/overview.html The content search for the offline Help is still an open issue.
(In reply to Olivier Hallot from comment #9) > > The content search for the offline Help is still an open issue. Thanks !
(In reply to Buovjaga from comment #7) > The online help has the content search. > > I will tweak the fuzziness aspect, when I move from fuzzysort to Flexsearch > as the JS search library. You will be pleased to learn that this patch makes the switch and FlexSearch actually doesn't even have fuzzy search: https://gerrit.libreoffice.org/c/help/+/122566
Olivier did a new build with the patch, so you can preview it here: https://help.libreoffice.org/7.3/