O'Reilly logo

Distributed Computing with Go by V.N. Nikhil Anurag

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Goophr Librarian

In Chapter 6, Goophr Concierge, we built the endpoint responsible for accepting new documents and breaking them down into tokens to be used in the index. However, the current implementation of Concierge's api.indexAdder returns after printing the token to the console. In this chapter, we will implement Goophr Librarian, which can interact with the Concierge to accept tokens and also respond to token search queries.

In this chapter we will look at following topics:

  • The standard indexing model
  • The inverted indexing model
  • The document indexer
  • Query resolver APIs

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required