phoenix secondary index in two ways:
1, the global index: global index to know all the positions, fast search index, but not all of the data and write it in a so require network transmission. It is suitable to read write less.
2, local index: the data in the same region, since no fast write transmission local network. But knowing less so for less reading and writing.