1d set/getindex for abstract sparse
ref #7023
reuse existing search methods
Merge pull request #7047 from tanmaykm/tanmaykm

1d set/getindex for abstract sparse