indexing now supports streams

fixes #108