Search APIs

So far, what we have learned from the preceding four chapters is preparing us for searching. We prepared the index settings, the mappings, the analyzers, and then we indexed the documents. One of the ultimate goals is to execute the query and get high-quality results from the index. The Search API allows you to perform a search query and return the search hits that match the query. There are two basic ways to run a search: one is to send the search request with URL parameters, and the other is to use a request body. This chapter also provides additional information about searching related APIs, such as tuning, validating, and troubleshooting. By the end of this chapter, you will have covered the following topics:

  • The URI search
  • The Request body search
  • The Query domain-specific language (DSL)
  • The Multi-search API
  • The Explain API
  • The Validate API
  • The Count API
  • The Field capabilities API
  • The Profile API
  • Suggester

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.227.46.29