Refactoring index selector to remove code duplication and add update/upsert functionality
Refactoring index selector to remove code duplication and add update/upsert functionality

jsnoble/teraslice,terascope/teraslice,terascope/teraslice,jsnoble/teraslice,godber/teraslice,godber/teraslice,jsnoble/teraslice,jsnoble/teraslice,jsnoble/teraslice,terascope/teraslice,terascope/teraslice,godber/teraslice