What do you mean "rename field"? It _looks_ like you're trying to get
the results into a doc from your document and changing it's name _in
the results_.
I.e. you have "ProductName" in your document, but want to see
Name_en-US in your output.

My guess is that the hyphen is the problem. Does it work if you try to
bet Name_en_US? Generally, hyphens are a bad idea with field names.

Best,
Erick

On Mon, Mar 9, 2015 at 2:38 PM, EXTERNAL Taminidi Ravi (ETI,
AA-AS/PAS-PTS) <external.ravi.tamin...@us.bosch.com> wrote:
> Hello, Can anyone know how to rename a field with the below field Name. When 
> I try the below method it says undefined field "Name_en"
>
> &fl=ProductName:Name_en-US
>
> It throws error saying undefined field 'Name_en', it is not recognizing the 
> full field name.. 'Name_en-US'
>
> Is there any work around..?
>
> Thanks
>
> Ravi
>
  • Field Rename in SOLR EXTERNAL Taminidi Ravi (ETI, AA-AS/PAS-PTS)
    • Re: Field Rename in SOLR Erick Erickson

Reply via email to