search: s/Store/Index/

This name makes more sense.
main: s/NewStore/NewIndex/

Adapting code.