Query handler – the REST API endpoint

Similarly, if we consider the case of handling a search query at /api/query, we should be able to take the search terms from the payload, request results from various instances of the Librarian, process them, and then return search results back to the user in the descending order of search relevance. However, since we haven't implemented the Librarian yet, we shall discuss the implementation of this endpoint later in Chapter 8, Deploying Goophr, the distributed search index.

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

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