title: Redis array search by a value
body: <p>If I have an array in Redis database below
  [1,1,1,1,1,1,1,2,3,4]
  I need to get the index range in the array where value '1' contains. That means my answer should be 0-6 index range</p>