Skip to content
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

Cross project search #41

Closed
shilpa-0 opened this issue Dec 8, 2022 · 1 comment
Closed

Cross project search #41

shilpa-0 opened this issue Dec 8, 2022 · 1 comment

Comments

@shilpa-0
Copy link

shilpa-0 commented Dec 8, 2022

Hi,

We use a fork of hostthedocs in our organization.

Could you please provide some hints on how a cross-project search feature could be implemented?

Or do you have plans of implementing this feature?

Thanks

@rgalanakis
Copy link
Owner

Hi @shilpa-0, I don't have any plans for this feature, as cross-project search is a pretty different concern than the normal Sphinx search. For example see this thread: https://groups.google.com/g/sphinx-users/c/cf574LSBH0g/m/nL85DFikAgAJ

I would suggest looking at Algolia (I can recommend their service as a former customer). I suspect folks have already built plugins to integrate it and Sphinx/python do indexing. Here is one such attempt, I'm sure there are others: readthedocs/sphinx_rtd_theme#761 But it will still be some work to integrate.

It would be possible to integrate cross-project search into HTD itself, and generate the cross-project index at upload time, and serve it from the same Python process. I don't think there are good Python search engines; you could write a Go library using Bleve, or a similar language/library, and call it from the server.

No simple solution I'm afraid. I do consulting through my company Lithic Technology, if you want a solution for your organization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants