A related concept is "Key Word in Context (KWIC)"[0] indicies. These were very common, and useful, in Unix documentation. Another name for them is "permuted index."
0 - https://en.wikipedia.org/wiki/Key_Word_in_Context