?q=how+does+search+workWhat happens after you press Enter
Crawling, indexing and ranking explained without code, plus the small file that adds a website to your browser’s search box.
Three steps behind every result
- Crawl. Programs called crawlers fetch pages and follow their links. A site’s robots.txt file can ask them to skip some paths, but it is a request, not a lock.
- Index. Words are pulled out of each page and stored in an inverted index: for every word, a list of the pages that contain it.
- Rank. When you search, the engine finds pages with your words and puts them in order. Many open-source engines start from a formula called BM25, which rewards rare words that appear often in a page.
One name, two different things
2005 · a file formatOpenSearch description
A short XML file, first published by Amazon’s A9 search company. A site links to it, and browsers that support it can add that site to their list of search engines. The file holds a URL template with a {searchTerms} placeholder.
2021 · a search engineOpenSearch software
An open-source search and analytics suite that began as a fork of Elasticsearch and Kibana. Since 2024 it has been run by the OpenSearch Software Foundation under the Linux Foundation.

Operators worth knowing
| Type this | What it does |
|---|---|
"exact phrase" | Looks for the words together, in that order. |
jaguar -car | Leaves out pages that mention the word after the minus. |
site:example.org | Searches one website only. |
filetype:pdf | Asks for one kind of file, on engines that support it. |
Support differs from engine to engine, and some operators change over time.
Our notes
0 results Our first notes are still being indexed. The Search Glossary is a good place to start.
Partner posts
Advertisers can buy posts on this domain. Each one starts with a sponsored label, lives at its own address and is excluded from our lists and search results.
Frequently asked
Can I add any website to Safari’s search box?
Safari offers a fixed list of search engines. That gap is why add-ons such as the old OpenSearch for Safari extension appeared. Other browsers can add engines from an OpenSearch description file.
Does robots.txt keep a page secret?
No. It only asks well-behaved crawlers to stay away. Anything that must stay private needs a password or should not be online.
Is OpenSearch the same as Elasticsearch?
They share early code, because OpenSearch started as a fork in 2021, but the two projects have developed separately since then.
