Frequently asked questions

#9: When do I use the /search API?

Category: API · Last updated: · Permalink

Think of the /search/<scope> API as a user-facing search function, i.e. the kind of search mechanism you would use to build a Google-style, interactive search feature for a web site. You can find detailed guidance for the search API and query syntax here.

While ElasticSearch internally generates result scores for /search results, these are not exposed via the API. This is because the search scores would change with each re-index (i.e. every few hours) and revealing them in the API would create a false sense that this API can be used to conduct screening activities.

Related questions

« Back to full FAQ index