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.
United States
United Kingdom
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Argentina
Austria
Belgium
Bulgaria
Chile
Colombia
Cyprus
Czechia
Denmark
Ecuador
Egypt
Estonia
Finland
Greece
Hungary
Indonesia
Ireland
Italy
Japan
Latvia
Lithuania
Luxembourg
Malaysia
Malta
Mexico
Netherlands
New Zealand
Norway
Philippines
Poland
Portugal
Romania
Singapore
Slovakia
Slovenia
South Africa
South Korea
Sweden
Switzerland
Taiwan
Thailand
Turkey
Ukraine