Ready: Secondary index code samples

Work in progress

- [x] Ruby
- [x] Java
- [x] Python
- [x] Erlang
- [x] curl