Added some comments to core.ai.Search