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

Searching for keywords with Goophr

Now that we have the complete application running and some documents in the index, let's test it by searching for some of the keywords. The following is the list of terms we will be searching for and the expected order:

  • "apple" - book1 (score: 2), book 3 (score: 1)
  • "cake" - book 3 (score: 2), book 2 (score: 1)
  • "apple", "cake" - book 3 (score 3), book 1 (score: 2), book 2 (score: 1)

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