-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Question about subprojects #4623
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
Comments
I'm not sure if that's by design, but if not, looks like a feature request. |
@stsewd Thanks so much! In the documentation, it is said So that I am figuring that the expected behavior should be what's designed. Can you please help confirm. If not, then, yes, this is definitely a new feature needed;-) For big documentation projects that spread among several repos, we need the search to happen in all repos. |
oh, I didn't read that. I think that should work, I'll investigate a little more. |
This is a feature already built into RTD search. You need elastic search setup and the correct indexes. Unless there is a more specific problem with search indexing, I don't think there is much we can act on here. Perhaps stack overflow is better place for a support question like this? Closing for now. If you have a bug report, feel free to reopen. |
@agjohnson I tested this on the .org site, looks like it doesn't work there. Main project: https://rtd-test-stsewd.readthedocs.io/en/latest/search.html?q=eric&check_keywords=yes&area=default Subproject https://rtd-test-stsewd.readthedocs.io/projects/stsewd-demo/en/latest/ |
This also doesn't work in the another way Main project: https://rtd-test-stsewd.readthedocs.io/en/latest/search.html?q=change&check_keywords=yes&area=default# |
I'm seeing bad search results even just searching those projects for terms that should be locally indexed, so this probably is a problem with indexing in general, not a problem with this indexing feature. For example, I get results that back down to Sphinx results here: This term exists in the local document, I'd expect this in our results |
Just commenting that we solve this rebuilding the project |
Details
By following https://docs.readthedocs.io/en/latest/subprojects.html, we configured project b,c,d as the subproject of a, expecting that these projects will share search index.
We hosted the docs in our own server, so not a project on readthedocs.
Expected Result
When I search in project a, search engine should search among a and its subprojects.
Actual Result
When I search in project a with a keyword that appears in b, no result is returned.
Question
Is this working as designed? How to achieve my expected result?
The text was updated successfully, but these errors were encountered: