Re: score from spans

2009-08-26 Thread Eran Sevi
I've done some work and would like to post it to the list in order to get some opinions and try to reach something that is satisfactory for everyone. One problem is that i'm actually using Lucene.Net and have written the code in c#. Anothe problem is that I'm using version 2.3.2 which might be a b

Re: score from spans

2009-08-10 Thread Mark Miller
Hey Eran, I've started work on this in the past - you are right, it gets complicated quick! Its also likely to bring with it a sizable performance cost. We already have an issue in JIRA for this that is quite old: https://issues.apache.org/jira/browse/LUCENE-533 If you get any work going,

Re: score from spans

2009-08-10 Thread Grant Ingersoll
On Aug 9, 2009, at 5:10 AM, Eran Sevi wrote: Thanks for the answer. I tried to further understand the weight and score mechanism when running a span query search. I noticed that indeed the SpanScorer and SpanWeight are being called and some score is returned but it seems to me that these

Re: score from spans

2009-08-09 Thread Eran Sevi
Thanks for the answer. I tried to further understand the weight and score mechanism when running a span query search. I noticed that indeed the SpanScorer and SpanWeight are being called and some score is returned but it seems to me that these basic implementations are more appropriate for the bas

Re: score from spans

2009-08-04 Thread Grant Ingersoll
A SpanQuery is a Query, so if you do a search for it, you will get scores. However, the mechanism is a bit complicated, b/c actually getting the Spans is separate from doing the query. I agree there could be tighter integration. However, what you could do is use Spans.skipTo to move to t