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

Get Distributed Computing with Go now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.