Field aliasing exists when retrieving fields via fl parameter. But not when 
querying.
Can you elaborate more your use case?





On Saturday, June 7, 2014 12:57 AM, Antoine LE FLOC'H <lefl...@gmail.com> wrote:
Hello,

I have a query like the following where "brand" is a field in my schema:

select?rows=1&start=0&sort=price+asc&q=brand:sony&qt=for-search&wt=xml


But I want to do this instead:

select?rows=1&start=0&sort=price+asc&q=brand_name:sony&qt=for-search&wt=xml

and define something like "brand_name:brand" in my Solr config to change
the field before or during the QueryParsing. Is there a way to do that ?


Ideally I would not want to do a copyField since it would grow my index and
would require re-indexing.


Thank you

Reply via email to