I call the following a lot in a particular project. It works fine, but there\'s a problem with this as far as optimization is concerned. I have an index and need to get all text