[ https://issues.apache.org/jira/browse/SOLR-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13011562#comment-13011562 ]
Ryan McKinley commented on SOLR-1298: ------------------------------------- With SOLR-2443, we can now parse the function query, but it still needs to actually write the values: {code} &fl=id,score,mul(popularity,popularity) {code} gives: {code:xml} <doc> <str name="id">GB18030TEST</str> <float name="score">1.0</float> <str name="mul(popularity,popularity)">now what...</str></doc> {code} aliasing also works, so: {code} &fl=id,score,pop2=mul(popularity,popularity) {code} gives: {code:xml} <doc> <str name="id">GB18030TEST</str> <float name="score">1.0</float> <str name="pop2">now what...</str></doc> {code} If someone else wants to look into how to get the values filled up, that would be great! > 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: Next > > 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. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org