Re: Payloads and SpanScorer

2008-07-19 Thread Peter Keegan
I discovered this post from Karl Wettin in May about SpanNearQuery scoring: http://www.nabble.com/SpanNearQuery-scoring-td17425454.html#a17425454 Karl apparently had the same expectations I had about the usage model of spans and boosts. I also found JIRA issue 533 (SpanQuery scoring: SpanWeight

Re: Payloads and SpanScorer

2008-07-10 Thread Grant Ingersoll
I'm not fully following what you want. Can you explain a bit more? Thanks, Grant On Jul 9, 2008, at 2:55 PM, Peter Keegan wrote: If a SpanQuery is constructed from one or more BoostingTermQuery(s), the payloads on the terms are never processed by the SpanScorer. It seems to me that you

Re: Payloads and SpanScorer

2008-07-10 Thread Peter Keegan
Suppose I create a SpanNearQuery phrase with the terms long range missiles and some slop factor. Each term is actually a BoostingTermQuery. Currently, the score computed by SpanNearQuery.SpanScorer is based on the sloppy frequency of the terms and their weights (this is fine). But even though each

Re: Payloads and SpanScorer

2008-07-10 Thread Grant Ingersoll
Makes sense. It was always my intent to implement things like PayloadNearQuery, see http://wiki.apache.org/lucene-java/Payload_Planning I think it would make sense to develop these and I would be happy to help shepherd a patch through, but am not in a position to generate said patch at

Re: Payloads and SpanScorer

2008-07-10 Thread Peter Keegan
I may take a crack at this. Any more thoughts you may have on the implementation are welcome, but I don't want to distract you too much. Thanks, Peter On Thu, Jul 10, 2008 at 1:30 PM, Grant Ingersoll [EMAIL PROTECTED] wrote: Makes sense. It was always my intent to implement things like

Payloads and SpanScorer

2008-07-09 Thread Peter Keegan
If a SpanQuery is constructed from one or more BoostingTermQuery(s), the payloads on the terms are never processed by the SpanScorer. It seems to me that you would want the SpanScorer to score the document both on the spans distance and the payload score. So, either the SpanScorer would have to