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