You may be aware that direct sunlight is thousands of times more intense than indoor lighting conditions. Probably if you'd hooked up a resistive load to it while indoors, the measured voltage would have dropped to a fraction of a volt; and if you'd used an oscilloscope instead of a multimeter to measure the voltage, you would very likely have measured 5 volts.
Or I could be wrong, of course.