Skip to content

Latest commit

 

History

History
93 lines (68 loc) · 3.45 KB

File metadata and controls

93 lines (68 loc) · 3.45 KB

Server side search

Read the Docs provides full-text search across all of the pages of all projects, this is powered by Elasticsearch. You can search all projects at https://readthedocs.org/search/, or search only on your project from the Search tab of your project.

/server-side-search/syntax

Syntax options for searching Read the Docs projects

/server-side-search/api

Reference to the Server Side Search API

Search features

Read the Docs has the following search features:

Search across subprojects </subprojects>

Subprojects allow you to host multiple discrete projects on a single domain. Every subproject hosted on that same domain is included in the search results of the main project.

Search results land on the exact content you were looking for

We index every heading in the document, allowing you to get search results exactly to the content that you are searching for. Try this out by searching for "full-text search".

Full control over which results should be listed first

Set a custom rank per page, allowing you to deprecate content, and always show relevant content to your users first. See config-file/v2:search.ranking.

Search across projects you have access to

Search across all the projects you access to in your Dashboard. Don't remember where you found that document the other day? No problem, you can search across them all.

You can also specify what projects you want to search using the project:{name} syntax, for example: "project:docs project:dev search". See /server-side-search/syntax.

Special query syntax for more specific results

We support a full range of search queries. You can see some examples at server-side-search/syntax:special queries.

Configurable

Tweak search results according to your needs using a configuration file <config-file/v2:search>.

Ready to use

We override the default search engine of your Sphinx project with ours to provide you with all these benefits within your project. We fallback to the built-in search engine from your project if ours doesn't return any results, just in case we missed something .

API

Integrate our search as you like. See /server-side-search/api.

Analytics

Know what your users are searching for. See /guides/search-analytics

Search analytics demo. Read more in /guides/search-analytics.

Search analytics demo. Read more in /guides/search-analytics.

Search as you type

readthedocs-sphinx-search is a Sphinx extension that integrates your documentation more closely with the search implementation of Read the Docs. It adds a clean and minimal full-page search UI that supports a search as you type feature.

To try this feature, you can press / (forward slash) and start typing or just visit these URLs: