BoostingTermQuery performance

2007-10-02 Thread Peter Keegan
I have been experimenting with payloads and BoostingTermQuery, which I think are excellent additions to Lucene core. Currently, BoostingTermQuery extends SpanQuery. I would suggest changing this class to extend TermQuery and refactor the current version to something like 'BoostingSpanQuery'. The

Re: BoostingTermQuery performance

2007-10-02 Thread Karl Wettin
3 okt 2007 kl. 00.44 skrev Peter Keegan: TermQuery:200 qps BoostingTermQuery (extends SpanQuery): 97 qps BoostingTermQuery (extends TermQuery): 130 qps Here is a version of BoostingTermQuery that extends TermQuery. I had to modify TermQuery and TermScorer to make them public. A code

Re: BoostingTermQuery performance

2007-10-02 Thread Grant Ingersoll
Hi Peter, This sounds interesting. Can you put this in JIRA as a patch, please? I am slowly but surely working on Span query stuff, so hopefully I can get to it soon. Thanks, Grant On Oct 2, 2007, at 6:44 PM, Peter Keegan wrote: I have been experimenting with payloads and

Re: BoostingTermQuery performance

2007-10-02 Thread Mike Klaas
On 2-Oct-07, at 3:44 PM, Peter Keegan wrote: I have been experimenting with payloads and BoostingTermQuery, which I think are excellent additions to Lucene core. Currently, BoostingTermQuery extends SpanQuery. I would suggest changing this class to extend TermQuery and refactor the current