How can I view the items in the Spotlight cache?
mdfind is your friend here.

If you simply wanted a list of every file in your spotlight index you could do:

mdfind /


You can also get it to provide a count of the files.

mdfind -count /


On my system this returns 224353 which is a good reason not to run the first command!