Use a constant to define the types mapping
Use a constant to define the accepted types by sphinx
Put Field and Attribute inside Index
search_index class method created + specs
Improve documentation