Hi Ahmet,

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

I have a basic understanding but will do further reading...

> 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

You are right for a hand crafted query but I have to deal with arbitrary
complex user queries which are syntax-checked within the front end
application but not much more. I find it difficult to automatically
detect what part of the query can be moved to a filter query.

> 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

Perhaps not, but how can I tackle my original problem then? Is there a
way to boost exact titles (or whatever is in pf for that matter) within
fielded queries, since that is what I have to deal with? The example
above was just that -- an example -- people can come up with all sorts
of complex/fielded queries but most of them contain a title (or part of
it) and I want to boost those that have an exact(ish) match.

--Michael

Reply via email to