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

Yonik Seeley commented on SOLR-2444:
------------------------------------

bq. There is also no way to implement the quoted field names that hoss suggests

Actually it should be trivial since it's a single value and StrParser already 
supports it.  Anyway, as you say, we should concentrate first on the desired 
syntax.

I brought up "add(a,b) AS foo" in SOLR-1298 as one option, but no one was 
thrilled with it.

OK, so for the basic syntax of how to name pseudofields, I think these are the 
top 3 options we have?
{code}
fl=name,title,dist=geodist(),nterms=termfreq(text,solr)
fl=name,title,dist:geodist(),nterms:termfreq(text,solr)
fl=name,title,geodist() AS dist,termfreq(text,solr) AS nterms
{code}

I think I'm fine with any of these, but perhaps we should get feedback from 
more people?  Once we decide, we should pretty much stick with it forever IMO.

> Update fl syntax to support: pseudo fields, AS, transformers, and wildcards
> ---------------------------------------------------------------------------
>
>                 Key: SOLR-2444
>                 URL: https://issues.apache.org/jira/browse/SOLR-2444
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Ryan McKinley
>         Attachments: SOLR-2444-fl-parsing.patch, SOLR-2444-fl-parsing.patch
>
>
> The ReturnFields parsing needs to be improved.  It should also support 
> wildcards

--
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

Reply via email to