[
https://issues.apache.org/jira/browse/SOLR-2444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13015256#comment-13015256
]
Ryan McKinley commented on SOLR-2444:
-------------------------------------
bq. I'm not particularly a fan of the specific syntax "x AS y", but i'm not
opposed to it
Other ideas? Yoniks patch uses:
{code}
?fl=id,hard_coded_price=[value:10]
{code}
My problem (but not strong) is that = is used for both the parameter and the
name mapping.
other options?
bq. i think you must have actually ment something like this, correct?
?fl=id,[value:10] as hard_coded_price
yes, sorry poor example
bq. a quote character...
+1
bq. should move the fieldname to the "key"
I like the syntax you suggest. The reason i suggested fl.pseudo=key:value is
more to do with the implementation then the syntax. With fl.pseudo.key=value
we have to iterate and compare all parameters to parse the pseudo fields rather
then just getParams( "fl.pseudo" ).
I am happy with either syntax, but I like the implementation simplicity of
fl.pseudo=key:value
> 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: [email protected]
For additional commands, e-mail: [email protected]