Hi,

You might find this useful : 
https://lucidworks.com/blog/whats-a-dismax/

Regarding your example : title:foo AND author:miller AND year:[2010 TO *]
last two clauses better served as a filter query.

http://wiki.apache.org/solr/CommonQueryParameters#fq


By the way it is possible to combine different query parsers in a single query, 
but I believe your use-case does not need that.
https://cwiki.apache.org/confluence/display/solr/Local+Parameters+in+Queries


Ahmet


On Sunday, January 11, 2015 3:27 PM, Michael Lackhoff <mich...@lackhoff.de> 
wrote:
Am 11.01.2015 um 14:01 schrieb Ahmet Arslan:

> What happens when you do not use fielded query?
> 
> q=anatomie&qf=title_exact
> instead of
> 
> q=title_exact:"anatomie"

Then it works (with qf=title):
+(title:anatomie) (title_exact:"aaaa anatomie zzzz"^20.0)

Only problem is that my frontend always does a fielded query.

Is there a way to make it work for fielded query?
Or put another way: How can I do this boost in more complex queries like:
title:foo AND author:miller AND year:[2010 TO *]
It would be nice to have a title "foo" before another title "some foo
and bar" (given the other criteria also match both titles).
In such cases it is almost impossible to move the search fields to the
qf parameter.


--Michael

Reply via email to