[
https://issues.apache.org/jira/browse/SOLR-1205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12716559#action_12716559
]
Fergus McMenemie edited comment on SOLR-1205 at 6/5/09 3:09 AM:
----------------------------------------------------------------
Rereading the OP's issue, I see that Nobel's solution would be fine, However a
simple XSLT transform on the search output using &wt=xslt&tr=XXXX.xsl would
surely be just as good and far more flexible?
Considering this from the query side, the proposed example needs a bit
clarification, .... at least for me. Is "from_name1" the name from the query
and the "to_name1" the name of an underlying field in the index? If so, i would
need:-
{code}
fl.alias=title:placename&fl.alias=title:subject
{code}
One of the fields that caused particular bother when searching across shards
was that the unique ID field had to be common to all shards. Would this help
here?
was (Author: fergus):
The proposed example needs a bit clarification, .... at least for me. Is
"from_name1" the name from the query and the "to_name1" the name of an
underlying field in the index? If so, i would need:-
{code}
fl.alias=title:placename&fl.alias=title:subject
{code}
One of the fields that caused particular bother when searching across shards
was that the unique ID field had to be common to all shards. Would this help
here?
> 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.