indexing: fix auto whoosh schema

it was using columns name for model attributes, whereas they may
differ (like when using a very long attribute name and shortened one for
db column)