Re: BoostingNearQuery

2009-08-21 Thread Mark Miller
Grant Ingersoll wrote: > > On Aug 20, 2009, at 3:39 PM, Mark Miller wrote: > >> In a similar line though, BoostingFunctionTermQuery doesn't really fit >> with BoostingNearQuery. I see part of why its not called >> BoostingTermQuery is because BoostingTermQuery is deprecated - but why >> can't the B

Re: BoostingNearQuery

2009-08-21 Thread Grant Ingersoll
On Aug 21, 2009, at 8:23 AM, Mark Miller wrote: Grant Ingersoll wrote: On Aug 20, 2009, at 3:44 PM, Mark Miller wrote: And what is the purpose of the marker interface PayloadQuery? Is there a use case for this? At the time I was adding it, I was thinking about adding a Payload query that

Re: BoostingNearQuery

2009-08-21 Thread Grant Ingersoll
On Aug 20, 2009, at 3:39 PM, Mark Miller wrote: In a similar line though, BoostingFunctionTermQuery doesn't really fit with BoostingNearQuery. I see part of why its not called BoostingTermQuery is because BoostingTermQuery is deprecated - but why can't the BoostingFunctionTermQuery impl replace

Re: BoostingNearQuery

2009-08-21 Thread Mark Miller
Grant Ingersoll wrote: > > On Aug 20, 2009, at 3:44 PM, Mark Miller wrote: > >> And what is the purpose of the marker interface PayloadQuery? >> >> Is there a use case for this? > > At the time I was adding it, I was thinking about adding a Payload > query that took in other Payload queries, i.e. s

Re: BoostingNearQuery

2009-08-21 Thread Grant Ingersoll
On Aug 20, 2009, at 3:44 PM, Mark Miller wrote: And what is the purpose of the marker interface PayloadQuery? Is there a use case for this? At the time I was adding it, I was thinking about adding a Payload query that took in other Payload queries, i.e. something like: CoolNewQuery(Paylo

Re: BoostingNearQuery

2009-08-20 Thread Mark Miller
And what is the purpose of the marker interface PayloadQuery? Is there a use case for this? - Mark Mark Miller wrote: > In a similar line though, BoostingFunctionTermQuery doesn't really fit > with BoostingNearQuery. I see part of why its not called > BoostingTermQuery is because BoostingTermQu

Re: BoostingNearQuery

2009-08-20 Thread Mark Miller
In a similar line though, BoostingFunctionTermQuery doesn't really fit with BoostingNearQuery. I see part of why its not called BoostingTermQuery is because BoostingTermQuery is deprecated - but why can't the BoostingFunctionTermQuery impl replace BoostingTermQuery with average as the default? (wh

Re: BoostingNearQuery

2009-08-20 Thread Mark Miller
My fault - it does! I was just checking JavaDocs and this was misleading: Payload scores are averaged across term occurrences in the document. I'll update to be less ambiguous eg it takes a function that defaults to average. - Mark Simon Willnauer wrote: > +1 > > On Thu, Aug 20, 2009 at 8:21

Re: BoostingNearQuery

2009-08-20 Thread Simon Willnauer
+1 On Thu, Aug 20, 2009 at 8:21 PM, Michael McCandless wrote: > +1 > > Mike > > On Thu, Aug 20, 2009 at 11:08 AM, Mark Miller wrote: >> BoostingNearQuery averages payloads - shouldn't it take a >> PayloadFunction as well? >> >> -- >> - Mark >> >> http://www.lucidimagination.com >> >> >> >> >>

Re: BoostingNearQuery

2009-08-20 Thread Michael McCandless
+1 Mike On Thu, Aug 20, 2009 at 11:08 AM, Mark Miller wrote: > BoostingNearQuery averages payloads - shouldn't it take a > PayloadFunction as well? > > -- > - Mark > > http://www.lucidimagination.com > > > > > - > To unsubscribe,