We need to define correctly the search indexes, to maintain them and update them and to find out what needs to be indexed.