: Using query functions against a "type" field
On Tue, Jan 6, 2009 at 1:05 PM, Feak, Todd
wrote:
> 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?
Yep, a "
On Tue, Jan 6, 2009 at 1:05 PM, Feak, Todd wrote:
> 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?
Yep, a "const" QParser would enable that.
bq={!const}foo:bar
-Yonik
On Tue, Jan 6, 2009 at 10:41 AM, Feak, Todd 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 b
-user@lucene.apache.org
Subject: Re: Using query functions against a "type" field
On Tue, Jan 6, 2009 at 10:41 AM, Feak, Todd
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 sco
:It should be fairly predictible, can you elaborate on what problems you
:have just adding boost queries for the specific types?
The boost queries are true queries, so the amount boost can be affected
by things like term frequency for the query. The functions aren't
affected by this and therefore
: I would like to use a query function to boost documents of a certain
: "type". I realize that I can use a boost query for this, but in
: analyzing the scoring it doesn't seem as predictable as the query
: functions.
It should be fairly predictible, can you elaborate on what problems you
have j
underw...@netflix.com]
> Sent: Monday, December 22, 2008 10:33 AM
> To: solr-user@lucene.apache.org
> Subject: Re: Using query functions against a "type" field
>
> Try document boost at index time. --wunder
>
> On 12/22/08 9:28 AM, "Feak, Todd" wrote:
Subject: Re: Using query functions against a "type" field
Try document boost at index time. --wunder
On 12/22/08 9:28 AM, "Feak, Todd" wrote:
> I would like to use a query function to boost documents of a certain
> "type". I realize that I can use a boost qu
Try document boost at index time. --wunder
On 12/22/08 9:28 AM, "Feak, Todd" wrote:
> I would like to use a query function to boost documents of a certain
> "type". I realize that I can use a boost query for this, but in
> analyzing the scoring it doesn't seem as predictable as the query
> funct