Bug 7853 - Can't search for some words in documentation
Summary: Can't search for some words in documentation
Status: CLOSED FIXED
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Documentation (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.15.0
Assignee: Pierre Ossman
URL:
Keywords: relnotes, wilsj_tester
Depends on:
Blocks:
 
Reported: 2022-03-08 14:59 CET by Samuel Mannehed
Modified: 2022-03-24 09:29 CET (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments

Description Samuel Mannehed cendio 2022-03-08 14:59:31 CET
Using the built-in search function in the TAG you don't get any hits of the title of a page.

For example this search results in zero hits:

https://www.cendio.com/resources/docs/tag-devel/html/search.html?q=+Run+ThinLinc+administration+commands+using+sudo

Despite there being a section with that exact name.

This seems like a major flaw to me, titles are likely very relevant hits.
Comment 1 Pierre Ossman cendio 2022-03-21 12:41:50 CET
Other titles work. It looks like there is something with certain words. Searching for just "using" also gives 0 results, even though that word occurs in many places.
Comment 2 Pierre Ossman cendio 2022-03-22 07:47:05 CET
Reported upstream and they also committed a fix:

https://github.com/sphinx-doc/sphinx/issues/10277

Need to back port this to our Sphinx.
Comment 5 Pierre Ossman cendio 2022-03-22 08:21:16 CET
Fixed now and it's now possible to search for that title (and other hits for using).

(You get some bogus hits as well though, but that's just the way Sphinx' search works)
Comment 6 William Sjöblom cendio 2022-03-24 09:29:46 CET
I have reproduced the issue with a locally built TAG with `cendio-build-python3-sphinx-*-4.2.0-1' installed. Upgrading this package from release 1 to 2 resolves the issue with "using".

The rest of the testing was done using server build #2533. Other short words that will be subject to stemming (such as "IPs") now give appropriate search results. I also had a look at the patch (which applies just fine) and release notes and everything looks good.

Marking as closed.

Note You need to log in before you can comment on or make changes to this bug.