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

Thijs Vonk edited comment on SOLR-1205 at 6/5/09 5:08 AM:
----------------------------------------------------------

I already like this feature however, is it possible to conform to some standard?
With SimpleFacetComponent (see 
http://wiki.apache.org/solr/SimpleFacetParameters#head-4ba81c89b265c3b5992e3292718a0d100f7251ef
 ) you can rename a facet.field with something like facet.field={!ex=dt 
key=mylabel}doctype where the field will return as 'mylabel'

could we do the same here? Something like
{code}
fl={!key=title}placename,{!key=title}subject
{code}

This way we can also keep the comma separated field list

      was (Author: thyzz):
    I already like this feature however, is it possible to conform to some 
standard?
With SimpleFacetComponent (see 
http://wiki.apache.org/solr/SimpleFacetParameters#head-4ba81c89b265c3b5992e3292718a0d100f7251ef
 ) you can rename a facet.field with something like facet.field={!ex=dt 
key=mylabel}doctype where the field will return as 'mylabel'

could we do the same here? Something like
{code}
fl={!key=placename}title,{!key=subject}title
{code}

This way we can also keep the comma separated field list
  
> add a field alias feature
> -------------------------
>
>                 Key: SOLR-1205
>                 URL: https://issues.apache.org/jira/browse/SOLR-1205
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Noble Paul
>             Fix For: 1.5
>
>
> A feature which is similar to the SQL 'as' can be helpful 
> see the mail thread
> http://www.lucidimagination.com/search/document/63b63edc15092922/customizing_results#63b63edc15092922
> it can be implemented as a separate request param
> say 
> {code}
> fl.alias=from_name1:to_name1&fl.alias=from_name2:to_name2
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to