://lucene.472066.n3.nabble.com/Rename-fields-in-a-query-tp2693739p4033988.html
Sent from the Solr - User mailing list archive at Nabble.com.
hi, Arslan!
By object, I was saying an instance of [org.apache.lucene.search.Query].
For performance purposes, I'm wanting rewrite a fuzzy query in a field and,
then, query in another.
Thank you!
On Thu, Mar 17, 2011 at 18:43, Ahmet Arslan wrote:
> > Given a Query object "(name:firefox
> > nam
> Given a Query object "(name:firefox
> name:opera)", is it possible 'rename'
> the fields names to, for example, "(content:firefox
> content:opera)"?
By saying object you mean solrJ?
Anyway, it that helps, with &df parameter you can change fields.
&q=firefox opera&df=name will be parsed into
Given a Query object "(name:firefox name:opera)", is it possible 'rename'
the fields names to, for example, "(content:firefox content:opera)"?