On Mon, Nov 23, 2009 at 9:36 AM, Smiley, David W. <dsmi...@mitre.org> wrote: > Thanks Yonik. That blog post was very interesting but it only has about a > sentence or two on the query() function
Ah, I had thought that you meant the "query" QParser. The query function just allows you to use any other query type inside a function query. So you could add or multiply the scores of two dismax queries together, or whatever. As far as practical usecases... I've used it for selectively boosting one query based on the results of another query. I'm sure others will find other uses for it. -Yonik http://www.lucidimagination.com