In 4.0 you can use the def function with pseudo-fields (returning
function results as doc field values)
http://wiki.apache.org/solr/FunctionQuery#def

fl=a,b,c:def(myfield,10)


-Yonik
http://lucidworks.com


On Wed, Aug 29, 2012 at 2:39 PM, Rohit Harchandani <rhar...@gmail.com> wrote:
> Hi all,
> Is there a way to specify the order in which fields are returned by solr?
> Also, is it possible to make solr return a blank/default value for a field
> not present for a particular document, apart from giving a default value in
> the schema and having it indexed?
> Thanks,
> Rohit Harchandani

Reply via email to