Created by: lguychard
Fixes #8860
Adds support for index filter in both interactive mode and plain text mode.
index