Show
added a comment - Take the example:
Query: http://localhost:8983/solr/ac/select/?q=*%3A*&wt=csv
id,subtext,textphon,textng,score,action,value,textnge,type,textsuggest,popularity
a1,"Born 1898, author of Narnia",,,1023.9588,search,author_facet,,author,C.S. Lewis,256
a2,Swedish fake author,,,799.97003,search,author_facet,,author,Carl Larsson,200
a3,Norwegian famous author,,,359.992,search,author_facet,,author,Petter Dass,90
Fields textphon, textng and textnge are not stored. After the patch, we get:
Query: http://localhost:8983/solr/ac/select/?q=*%3A*&wt=csv
id,subtext,score,action,value,type,textsuggest,popularity
a1,"Born 1898, author of Narnia",1023.9588,search,author_facet,author,C.S. Lewis,256
a2,Swedish fake author,799.97003,search,author_facet,author,Carl Larsson,200
a3,Norwegian famous author,359.992,search,author_facet,author,Petter Dass,90
You can still ask for specific fields in any order:
Query: http://localhost:8983/solr/ac/select?q=*:*&wt=csv&fl=type,subtext,id
type,subtext,id
author,"Born 1898, author of Narnia",a1
author,Swedish fake author,a2
author,Norwegian famous author,a3
Is it ever correct to return non-stored fields?

This simple patch (for trunk) fixes it