OK. Anyway may I know if you guys wrote any custom code that related to indexing?

If yes, may I know where the code sits? Since I tried using additional search result plugin, and the indexing took so long and one of the reason might be because of the custom code related to indexing.