Currently, we have different factories which associates file and object, perhaps it would be better to have an object in order to manipulate this association.
Moreover, the actual indexation factory does not allow to merge indexes, it would be interesting that the init creates the reverse index and merge with same type of reverse indexes.
The current pull request has not updated the factories in order to avoid merge conflicts, however only tests show the correct use and the SearchEngine will no longer work.
Currently, we have different factories which associates file and object, perhaps it would be better to have an object in order to manipulate this association. Moreover, the actual indexation factory does not allow to merge indexes, it would be interesting that the init creates the reverse index and merge with same type of reverse indexes.