[ https://issues.apache.org/jira/browse/SOLR-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12733631#action_12733631 ]
Chris Male commented on SOLR-1298: ---------------------------------- In my patch in SOLR-773, I tackled this issue by creating the idea of a FieldValueSource, which mapped a name of a pseudo-field to an arbitrary source of data which could be computed at runtime. For me it was distances, but it could also be the results of a FunctionQuery. Since there was a mapping of name to data, it was possible to include or exclude the FieldValueSources from adding their information to the search results through the fl parameter. > 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 > Priority: Minor > Fix For: 1.5 > > > 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.