Closed gabrieldelaparra closed 6 years ago
Add a proposal for the non-ranked case on 47ce528a5d305d1a4d02a21adcd373e6f9f98618
Something to note about pagerank, the sum of all ranks must be 1.
Well, it seems like the boosts can't be updated after the index has been built. I have to modify the IndexBuilder so that it includes the ranks. Great.
Well the good news is that I thought that I would need to update the Create Index tests, but there like none functional tests, just to check for some documents, which is ok at this moment.
The bad news is that the method for calculating the ranks, reads all of the lines in the file. Which is needed to get the ranks. So, two times reading of the billion-lines input file. Not very performance friendly.
Using List
Implement a HasRank method that returns true/false if the index is ranked.