Is it possible to dynamically retrieve all fields present in a set of Solr documents and still maintain reasonable performance? The end goal here is to dynamically populate a list of numeric fields for users to sort their current query upon.
In a perfect world, I'd like to be able to have this list contain all of the numeric fields present in the docs returned by the user's query.
If this isn't possible to achieve, though, I'm going to populate the list with numeric fields via the luke handler. Unfortunately it seems that the luke handler returns fields for the entire collection, but can't be restricted to only the current query.
I'm fairly new to Solr, so any help/discussion would be greatly appreciated!