[jira] Resolved: (LUCENE-1838) BoostingNearQuery must implement clone - now it clones to a NearSpanQuery - cloning is required for Span container classes

2009-08-22 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Miller resolved LUCENE-1838. - Resolution: Fixed r806885 > BoostingNearQuery must implement clone - now it clones t

[jira] Updated: (LUCENE-1838) BoostingNearQuery must implement clone - now it clones to a NearSpanQuery - cloning is required for Span container classes

2009-08-22 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Miller updated LUCENE-1838: Attachment: LUCENE-1838.patch > BoostingNearQuery must implement clone - now it clones t

[jira] Commented: (LUCENE-1838) BoostingNearQuery must implement clone - now it clones to a NearSpanQuery - cloning is required for Span container classes

2009-08-21 Thread Mark Miller (JIRA)
aels fail stack trace I see that these payload queries should also implement toString(). I'll roll into this patch. > BoostingNearQuery must implement clone - now it clones to a NearSpanQuery - > cloning is required for Span co

[jira] Issue Comment Edited: (LUCENE-1838) BoostingNearQuery must implement clone - now it clones to a NearSpanQuery - cloning is required for Span container classes

2009-08-21 Thread Mark Miller (JIRA)
6 AM: --- adds clone - made SpanNearQuery internals protected. *edit* Adds QueryUtils.check back too, it will pass now with the clone. was (Author: markrmil...@gmail.com): adds clone - made SpanNearQuery internals protected. > BoostingNearQuery must implement clone - now it clon

[jira] Updated: (LUCENE-1838) BoostingNearQuery must implement clone - now it clones to a NearSpanQuery - cloning is required for Span container classes

2009-08-21 Thread Mark Miller (JIRA)
. > BoostingNearQuery must implement clone - now it clones to a NearSpanQuery - > cloning is required for Span container classes > -- > > Key: LUCENE-1838 >

[jira] Resolved: (LUCENE-1830) BoostingNearQuery doesn't have hashCode/equals

2009-08-21 Thread Mark Miller (JIRA)
fixed in LUCENE-1838 > BoostingNearQuery doesn't have hashCode/equals > -- > > Key: LUCENE-1830 > URL: https://issues.apache.org/jira/browse/LUCENE-1830 > Project: Lucene - Jav

[jira] Reopened: (LUCENE-1830) BoostingNearQuery doesn't have hashCode/equals

2009-08-21 Thread Mark Miller (JIRA)
investigating two issues at once - popped the QueryUtils test back in (it was originally missing) thinking it worked with this hashCode/equals, but it catches something. My bad. > BoostingNearQuery doesn't have hashCod

[jira] Commented: (LUCENE-1838) BoostingNearQuery must implement clone - now it clones to a NearSpanQuery - cloning is required for Span container classes

2009-08-21 Thread Mark Miller (JIRA)
have screwed something up ... I'll fix it. > BoostingNearQuery must implement clone - now it clones to a NearSpanQuery - > cloning is required for Span co

[jira] Commented: (LUCENE-1838) BoostingNearQuery must implement clone - now it clones to a NearSpanQuery - cloning is required for Span container classes

2009-08-21 Thread Michael Busch (JIRA)
.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) {noformat} > BoostingNearQuery must implement clone - now it clones to a NearSpanQuery - > cloning is required for Span contain

[jira] Commented: (LUCENE-1838) BoostingNearQuery must implement clone - now it clones to a NearSpanQuery - cloning is required for Span container classes

2009-08-21 Thread Mark Miller (JIRA)
into trouble with Querys and cloning. BooleanQuery, DisjunctionQuery have quite a reliance on it - as do the SpanQueries (all in rewrite). Improperly cloning can sometimes have extra special effects with MultiSearcher : LUCENE-1599 > BoostingNearQuery must implement clone - now it clon

[jira] Issue Comment Edited: (LUCENE-1838) BoostingNearQuery must implement clone - now it clones to a NearSpanQuery - cloning is required for Span container classes

2009-08-21 Thread Mark Miller (JIRA)
e/equals/clone check. > BoostingNearQuery must implement clone - now it clones to a NearSpanQuery - > cloning is required for Span container classes > -- > >

[jira] Commented: (LUCENE-1838) BoostingNearQuery must implement clone - now it clones to a NearSpanQuery - cloning is required for Span container classes

2009-08-21 Thread Mark Miller (JIRA)
efault to true) q1.class == q1.class test to the QueryUtils hashCode/equals/clone check. > BoostingNearQuery must implement clone - now it clones to a NearSpanQuery - > cloning is required for Span co

[jira] Commented: (LUCENE-1838) BoostingNearQuery must implement clone - now it clones to a NearSpanQuery - cloning is required for Span container classes

2009-08-21 Thread Mark Miller (JIRA)
ract clone so that SpanQuerys are required to implement cloneable. > BoostingNearQuery must implement clone - now it clones to a NearSpanQuery - > cloning is required for Span contain

[jira] Created: (LUCENE-1838) BoostingNearQuery must implement clone - now it clones to a NearSpanQuery - cloning is required for Span container classes

2009-08-21 Thread Mark Miller (JIRA)
BoostingNearQuery must implement clone - now it clones to a NearSpanQuery - cloning is required for Span container classes -- Key: LUCENE-1838

[jira] Resolved: (LUCENE-1830) BoostingNearQuery doesn't have hashCode/equals

2009-08-21 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1830?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Miller resolved LUCENE-1830. - Resolution: Fixed r806591 > BoostingNearQuery doesn't have hashCod

[jira] Updated: (LUCENE-1830) BoostingNearQuery doesn't have hashCode/equals

2009-08-21 Thread Mark Miller (JIRA)
base class to enforce they they are properly implemented in subclasses. > BoostingNearQuery doesn't have hashCode/equals > -- > > Key: LUCENE-1830 > URL: https://issues.apache.org/jir

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 d

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 BoostingFunctionTerm

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

[jira] Created: (LUCENE-1830) BoostingNearQuery doesn't have hashCode/equals

2009-08-20 Thread Mark Miller (JIRA)
BoostingNearQuery doesn't have hashCode/equals -- Key: LUCENE-1830 URL: https://issues.apache.org/jira/browse/LUCENE-1830 Project: Lucene - Java Issue Type: Bug Components: S

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 > 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 t

Re: BoostingNearQuery

2009-08-20 Thread Mark Miller
, 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 >>> Payload

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? >> >> -- >

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 > > > > > -

BoostingNearQuery

2009-08-20 Thread Mark Miller
BoostingNearQuery averages payloads - shouldn't it take a PayloadFunction as well? -- - Mark http://www.lucidimagination.com - To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e

[jira] Resolved: (LUCENE-1341) BoostingNearQuery class (prototype)

2009-08-06 Thread Grant Ingersoll (JIRA)
801667. thanks Peter! > BoostingNearQuery class (prototype) > --- > > Key: LUCENE-1341 > URL: https://issues.apache.org/jira/browse/LUCENE-1341 > Project: Lucene - Java > Is

[jira] Updated: (LUCENE-1341) BoostingNearQuery class (prototype)

2009-08-05 Thread Grant Ingersoll (JIRA)
sumPayloads more generic and protected, so that one could override it and do other things besides sum. > BoostingNearQuery class (prototype) > --- > > Key: LUCENE-1341 > URL: https://issues.apache.org/jira/bro

[jira] Updated: (LUCENE-1341) BoostingNearQuery class (prototype)

2009-08-05 Thread Grant Ingersoll (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Grant Ingersoll updated LUCENE-1341: Fix Version/s: (was: 3.0) 2.9 > BoostingNearQuery class (protot

[jira] Updated: (LUCENE-1341) BoostingNearQuery class (prototype)

2009-08-05 Thread Peter Keegan (JIRA)
) > BoostingNearQuery class (prototype) > --- > > Key: LUCENE-1341 > URL: https://issues.apache.org/jira/browse/LUCENE-1341 > Project: Lucene - Java > Issue Type: Improvement > Components: Qu

[jira] Commented: (LUCENE-1341) BoostingNearQuery class (prototype)

2009-08-05 Thread Grant Ingersoll (JIRA)
date? I think this could go into 2.9 if you can do so fairly quickly. > BoostingNearQuery class (prototype) > --- > > Key: LUCENE-1341 > URL: https://issues.apache.org/jira/browse/LUCENE-1341 >

[jira] Updated: (LUCENE-1341) BoostingNearQuery class (prototype)

2009-04-23 Thread Peter Keegan (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Peter Keegan updated LUCENE-1341: - Attachment: lucene-1341-new-1.patch As I was debugging a unit test for BoostingNearQuery, I

[jira] Commented: (LUCENE-1341) BoostingNearQuery class (prototype)

2009-04-03 Thread Grant Ingersoll (JIRA)
k it just needs some unit tests and then it will be good. > BoostingNearQuery class (prototype) > --- > > Key: LUCENE-1341 > URL: https://issues.apache.org/jira/browse/LUCENE-1341 > Project: Lucene - Java

[jira] Updated: (LUCENE-1341) BoostingNearQuery class (prototype)

2009-02-11 Thread Peter Keegan (JIRA)
onths late because I missed Grant's e-mail requesting me to retest. I was just recently looking to see what became of the original patch. Peter > BoostingNearQuery class (prototype) > --- > > Key: LUCENE-1341 >

[jira] Updated: (LUCENE-1341) BoostingNearQuery class (prototype)

2008-08-19 Thread Grant Ingersoll (JIRA)
: (was: 2.4) 3.0 > BoostingNearQuery class (prototype) > --- > > Key: LUCENE-1341 > URL: https://issues.apache.org/jira/browse/LUCENE-1341 > Project: Lucene - Java > Is

[jira] Updated: (LUCENE-1341) BoostingNearQuery class (prototype)

2008-07-31 Thread Grant Ingersoll (JIRA)
the BNQ to the payloads package. Peter, we need tests before this can be committed. > BoostingNearQuery class (prototype) > --- > > Key: LUCENE-1341 > URL: https://issues.apache.org/jira/browse/LUCENE-1341 >

[jira] Updated: (LUCENE-1341) BoostingNearQuery class (prototype)

2008-07-31 Thread Grant Ingersoll (JIRA)
: (was: 2.3.2) 2.4 > BoostingNearQuery class (prototype) > --- > > Key: LUCENE-1341 > URL: https://issues.apache.org/jira/browse/LUCENE-1341 > Project: Lucene - Java > Is

[jira] Assigned: (LUCENE-1341) BoostingNearQuery class (prototype)

2008-07-31 Thread Grant Ingersoll (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Grant Ingersoll reassigned LUCENE-1341: --- Assignee: Grant Ingersoll > BoostingNearQuery class (protot

[jira] Updated: (LUCENE-1341) BoostingNearQuery class (prototype)

2008-07-21 Thread Peter Keegan (JIRA)
1.4 > BoostingNearQuery class (prototype) > --- > > Key: LUCENE-1341 > URL: https://issues.apache.org/jira/browse/LUCENE-1341 > Project: Lucene - Java > Issue Type: Improvement > C

Re: [jira] Commented: (LUCENE-1341) BoostingNearQuery class (prototype)

2008-07-20 Thread Grant Ingersoll
5004 #action_12615004 ] Peter Keegan commented on LUCENE-1341: -- Note that this patch requires java 1.5 or later (easily modified to run on 1.4) BoostingNearQuery class (prototype) --- Key: LUCENE-

[jira] Commented: (LUCENE-1341) BoostingNearQuery class (prototype)

2008-07-19 Thread Peter Keegan (JIRA)
5 or later (easily modified to run on 1.4) > BoostingNearQuery class (prototype) > --- > > Key: LUCENE-1341 > URL: https://issues.apache.org/jira/browse/LUCENE-1341 > Project: Lucene - Java >

[jira] Updated: (LUCENE-1341) BoostingNearQuery class (prototype)

2008-07-19 Thread Peter Keegan (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Peter Keegan updated LUCENE-1341: - Attachment: BoostingNearQuery.java bnq.patch > BoostingNearQuery cl

[jira] Created: (LUCENE-1341) BoostingNearQuery class (prototype)

2008-07-19 Thread Peter Keegan (JIRA)
BoostingNearQuery class (prototype) --- Key: LUCENE-1341 URL: https://issues.apache.org/jira/browse/LUCENE-1341 Project: Lucene - Java Issue Type: Improvement Components: Query/Scoring Affects