-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Searching "recurse-submodules" returns incomplete results #1374
Comments
I think part of the problem is that we don't re-index the manpages often enough (or really, automatically at all). I'm slightly hesitant to reindex them every night, since 99% of the time they don't change. It would be nice if the index job could tell when I just reindexed, and now the |
Thanks for the quick check, and the reindexing. It would be good for cases like this to do pagination I guess. The website is usually the first place I go to read the man pages, so having search returning all matches would be ideal. |
So I guess Line 20 in 2f81e0c
is the culprit for capping at 10 results. I wanted to test it but could not get the search to work locally, is that normal ? The README does not mention anything special about that... |
search functionality uses elastic, so you need to have a local elastic instance running. I did that once (for #1282 ) , but I can't really remind of the details 🤔 I probably should have updated the docs for future situations like this one |
I just verified that the upcoming Hugo/Pagefind site is able to find them (although admittedly very far down the line...). |
https://git-scm.com/docs
), which should be raised with the community,https://git-scm.com/book
or its PDF versions), which should be raised at progit/progit2.I was searching for all git commands that understand the
--recurse-submodules
flag, so I searched for "recurse-submodules" on the web site.I don't know why, but the search results do not include neither the man page for
git read-tree
, nor the one forgit switch
which both support the flag:https://git-scm.com/docs/git-read-tree#Documentation/git-read-tree.txt---no-recurse-submodules,
https://git-scm.com/docs/git-switch#Documentation/git-switch.txt---recurse-submodules
I think these are the only ones that search doesn't return, since the search page has 10 hits under
docs/
and doingin git.git returns 12 files.
So I guess something is wrong with the searching/indexing...
The text was updated successfully, but these errors were encountered: