I'm not sure I followed all that Yonik.

Are you saying that I can achieve this affect now with a bq setting in
my DisMax query instead of via a bf setting?

-Todd Feak

-----Original Message-----
From: Yonik Seeley [mailto:ysee...@gmail.com] 
Sent: Tuesday, January 06, 2009 9:46 AM
To: solr-user@lucene.apache.org
Subject: Re: Using query functions against a "type" field

On Tue, Jan 6, 2009 at 10:41 AM, Feak, Todd <todd.f...@smss.sony.com>
wrote:
> The boost queries are true queries, so the amount boost can be
affected
> by things like term frequency for the query.

Sounds like a constant score query is a general way to do this.

Possible QParser syntax:
{!const}tag:FOO OR tag:BAR

Could be implemented via
ConstantScoreQuery(QueryWrapperFilter(theQuery))

The value could be the boost, optionally set within this QParser...
{!const v=2.0}tag:FOO OR tag:BAR

-Yonik

Reply via email to