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