https://bugs.documentfoundation.org/show_bug.cgi?id=150163

            Bug ID: 150163
           Summary: Filter index search results to only show the most
                    important keyword match from a single page, or a page
                    title
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Documentation
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

For a test: go to the Calc help page [1], and type 'insert column' into its
'Index' search box.

The results look like this:

> == Calc ==
> insert columns -- protected sheet
> inserting -- columns
> inserting -- manual column breaks
> columns -- inserting
> spreadsheets -- inserting column breaks
> spreadsheets -- inserting columns
> column breaks -- inserting
> protected sheet -- insert columns

The problem is that these eight result entries collectively point to three
different pages (e.g., "insert columns -- protected sheet" and "protected sheet
-- insert columns" are the same, including pointing to the same fragment).

This becomes a bigger problem when the number of results grows larger, thus not
fitting to one result page. One sees multiple links, but needs to list through
them finding the same answer, that maybe hides the really helpful result to
some Nth result page.

The search results should either show one most important keyword match
(assuming that the keywords are listed in some order in pages), or simply
provide the target page title (and again, give only one occurrence in the
search results).

Indeed, when the links are different (say, point to different fragments inside
the same page), it's OK to list them separately. In that case, the second
approach (with the target page title) would not work without some combination
with the anchor name (or simply have the result listed as "Page Title: keyword
match" in this case).

[1] https://help.libreoffice.org/7.4/en-US/text/scalc/main0000.html?DbPAR=CALC

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to