lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack Krupansky" <>
Subject Re: How to use/create an alias to a field?
Date Thu, 25 Oct 2012 14:57:51 GMT
With edismax in Solr 3.6/4.0 field aliases are supported:

"The syntax for aliasing is f.myalias.qf=realfield. A user query for 
myalias:foo will be queried as realfield:foo."


-- Jack Krupansky

-----Original Message----- 
From: Willi Haase
Sent: Thursday, October 25, 2012 9:26 AM
Subject: How to use/create an alias to a field?


I am using Lucene 3.4 and I have nearly the same question like Jan in his 

I could found something helpful in "Lucene in Action" or in the web.
What is the recommended way to create an alias to a field?
I want be able to use in the searchquery "au:some_name" or "auth:some_name" 
or "author:some_name", all using the field "author".

Many thanks in advance for any help or recommendations
  Willi : ) 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message