http://docs.lucidworks.com/display/solr/Working+with+External+Files+and+Processes says this about external file fields: "They can be used only for function queries or display". I understand how to use them in function queries, but how do I retrieve the values for display?
If I want to fetch only the values of a single external file field for a set of primary keys, I can do: q=_val_:"EXT_FILE_FIELD"&fq=id:(doc1 doc2 doc3)&fl=id,score For this query, the score is the value of the external file field. But how to get the values for docs that match some arbitrary query? Is there a syntax trick that will work where the value of the ext file field does not affect the score of the main query, but I can still retrieve its value? Also is it possible to retrieve the values of more than one external file field in a single query?