Am 11.01.2015 um 14:19 schrieb Michael Lackhoff:

> 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.

How about this one: It should be possible to construct a query with a
combination of more than one query parser. Is it possible to get this
pseudo-code-variant of the above example into a working search-URL?:
(defType=edismax
  &q=anantomie
  &qf=title10 related_title^5
  &pf=title_exact^20
)
AND
(defType=edismax
  &q=miller
  &qf=author^10 editor^5
)
AND
(defType=edismax <or perhaps other defType>
 &q=[2010 TO *]
 &qf=year
)

My knowledge of the syntax is just not good enough to build such a beast
and test it. What would a select-request look like to do such a query?
Or would it be far too slow because of the complexity?

--Michael

Reply via email to