I suppose you could use copyField functionality, though that feels like an 
overkill.  Why not just have a map with field name aliases in your app that 
rewrites the field names before sending the query to Solr?

Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch

----- Original Message ----
From: Maria Mosolova <[EMAIL PROTECTED]>
To: solr-user@lucene.apache.org
Sent: Thursday, October 25, 2007 3:38:36 PM
Subject: field name synonyms


Hello,

I am trying to figure out whether there is a way to specify field names
synonyms in Solr/Lucene schema. For instance, I have a field with the
name "title" in the database and want to be able to use queries:

title:query
t:query

to get the data from the same field.
Is there a way to do this?

Thank you in advance,
Maria



Reply via email to