lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan McKinley (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-2444) Update fl syntax to support: pseudo fields, AS, transformers, and wildcards
Date Mon, 04 Apr 2011 17:32:05 GMT

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

Ryan McKinley commented on SOLR-2444:
-------------------------------------

Erik -- so you are suggesting that the fl list is always the display value, and it *may* map
to a pseudo field with a different parameter

fl=name,dist,nice_looking_field_name
fl.pseudo.dist=geodist()
fl.pseudo.nice_looking_field_name=crazy_field_name

In this case, each 'fl' value would be checked to see if it actually maps to a pseudo field.
 As for supporting crazy field names we could either:
1. support quoting in the fl param so that fields with ',' aren't split
2. if you index a field with ',' in the name, you can get it but it needs to be mapped as
a pseudo field.


I like this suggestion.  It avoids the ':' vs '=' vs 'AS' issue and makes the parsing rules
easy to explain.






> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message