Ah, function results are not returned in the result set. You must either use debugQuery to get the value or the TermVectorComponent to get idf for existing terms.
> Ahmet, that doesnt return the idf data in my results, unless I am > doing something wrong. When you run any function you get the results > of the function back? > > Can you show me an example query you run ? > > > > //http://wiki.apache.org/solr/FunctionQuery#idf > > On Thu, Jun 9, 2011 at 9:23 AM, Jason Toy <jason...@gmail.com> wrote: > > I want to be able to run a query like idf(text, 'term') and have that > > data returned with my search results. I've searched the docs,but I'm > > unable to find how to do it. Is this possible and how can I do that ?