My websites generally include a page where you can publicly see what are the latest search terms used by the users of the web. I know it's not a good security practice to allow this since you can find undesired content. On the other hand it boosts the number of pages indexed since every new search can provide a link on Google and people can find you with related keywords that you are not using on your web page.
What is the rationale behind including or excluding this results in search engines index ?