lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noble Paul (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-1205) add a field alias feature
Date Fri, 05 Jun 2009 10:26:07 GMT

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

Noble Paul commented on SOLR-1205:
----------------------------------

bq.However a simple XSLT transform on the search output using..

The problem is that it would not help if you are using json/javabin/phps output formats and
we cannot propose it as a solution

just the opposite

{code}
fl.alias=placename:title&fl.alias=subject:title
{code}

This will have no impact on the query.(just like the fl parameter) . if just renames the fields
in the result docs

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


Mime
View raw message