▲ | modulovalue 4 days ago | ||||||||||||||||
NIT: That's not quite correct if your first statement is meant to imply an equality rather than a subset relation. The idea of an index is more general, as an index can be built for many different domains. For example, B-trees can index monoidal data and inverted indexes are just an instance of such a monoid that a B-tree can efficiently index. Furthermore, metric spaces (e.g., levenshtein distance) can also be efficiently indexed using other trees: metric trees. So calling inverted indexes just indexes would be really confusing since string data is not the only kind of data that a database might want to support having efficient indexes for. | |||||||||||||||||
▲ | atombender 4 days ago | parent [-] | ||||||||||||||||
My point is that all indexes are "inverted" in the sense that they map some searchable value to occurrences of said value. That is true even if method of comparison is not strict equality. | |||||||||||||||||
|