allow configuration of indices to query (closes issue #21)