Indexing: theory & history