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