Added: support for new indexer features

Please see the whole explanation in https://github.com/cozy/cozy-data-indexer/pull/12
"mon mauvais" as Frenches say.