RE: Using query functions against a "type" field

2009-01-06 Thread Feak, Todd
: 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 "

Re: Using query functions against a "type" field

2009-01-06 Thread Yonik Seeley
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

Re: Using query functions against a "type" field

2009-01-06 Thread Yonik Seeley
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

RE: Using query functions against a "type" field

2009-01-06 Thread Feak, Todd
-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

RE: Using query functions against a "type" field

2009-01-06 Thread Feak, Todd
: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

Re: Using query functions against a "type" field

2009-01-02 Thread Chris Hostetter
: 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

Re: Using query functions against a "type" field

2008-12-22 Thread Walter Underwood
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:

RE: Using query functions against a "type" field

2008-12-22 Thread Feak, Todd
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

Re: Using query functions against a "type" field

2008-12-22 Thread Walter Underwood
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