[ 
https://issues.apache.org/jira/browse/SOLR-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12794069#action_12794069
 ] 

Grant Ingersoll commented on SOLR-1298:
---------------------------------------

{quote}fl=foo is ambiguous... do we mean a function query or the field?... 
perhaps if it's a bare field name, then we treat it as a field unless it has 
localparams?
fl={!func}foo
{quote}

It is and isn't ambiguous, right?  The result should be the same in that the 
value for that field is loaded (although I suppose it has implications that it 
would now be possible to load non-stored, single valued fields if we treat it 
as a function).  FWIW, for the sort by function case, I checked to see if it is 
a field first, then a function, then puke.


> FunctionQuery results as pseudo-fields
> --------------------------------------
>
>                 Key: SOLR-1298
>                 URL: https://issues.apache.org/jira/browse/SOLR-1298
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Grant Ingersoll
>            Assignee: Grant Ingersoll
>            Priority: Minor
>             Fix For: 1.5
>
>         Attachments: SOLR-1298-FieldValues.patch, SOLR-1298.patch
>
>
> It would be helpful if the results of FunctionQueries could be added as 
> fields to a document. 
> Couple of options here:
> 1. Run FunctionQuery as part of relevance score and add that piece to the 
> document
> 2. Run the function (not really a query) during Document/Field retrieval

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to