Added: support for new indexer features

Please see the whole explanation in https://github.com/cozy/cozy-data-indexer/pull/12
Are you sure that backward compatibility is respected?