|
|
|
|
|
by grg0
323 days ago
|
|
"commonly" is an understatement; that's literally what a book index is by definition. The only thing "inverted" here is the context. The author even admits themselves that the word->doc mapping is an index: "If user wants to search by words - then words should be keys in our "database" (index)" It's a pointless debate of semantics. An inverted map is still a map. |
|
The discussion about it is not pointless since it clears up confusion. It might not have been for you, but it's clearly for many others, so if you think that's pointless then allowing yourself to appreciate other perspectives could go a long way.
An inverted map is still a map, but if you are typically thinking of the map A->B and then suddenly somebody talks about an inverted map, then it's understandable that people start to assume that this is now about B->A and get confused if it somehow actually isn't really.