If you are asking this question in relation to the messaging indexing issue in iPhone, the answer is simple. If your iPhone says it is indexing a message, it means the system is adding the text messages to the database. It is done so that the messages can be retrieved through the Search function.