I have implemented the Search part almost the same way as the Indexation one.
I have added all relevant elements to the factory dictionary in the IndexationFactory.
The display of matching document used is the basic one and I think should be improved using the .info file
If we are going to develop the factory dictionary in IndexationFactory, I think it should be great to put it in another file so all configuration would be in the same module and we could add custom fields if needed (such as distance for comparing documents etc)
If you think that it is necessary, it is ok for me, however, the distance used is specified in the TypeSearch, I thought that there would be several TypeSearch in function of what kind of distance you want to use.
If we are going to develop the factory dictionary in IndexationFactory, I think it should be great to put it in another file so all configuration would be in the same module and we could add custom fields if needed (such as distance for comparing documents etc)
Fixes #6 and #8