[
https://issues.apache.org/jira/browse/LUCENE-6250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14325065#comment-14325065
]
Paul Elschot commented on LUCENE-6250:
--------------------------------------
Thanks for trying.
I retried a few things, and I think the problem that ConjunctionScorer.score()
is called before any nextDoc() or advance(target) call.
This might happen when there is a scorer that incorrectly returns docID 0
initially, in that case DefaultBulkScorer does not do an initial nextDoc().
I'm running out of time now, I'll try and post another a patch later that shows
this neatly.
About TestFilterSpans: currently this test case only repeats the check already
done by the compiler on FilterSpans, namely that a non abstract class
(FilterSpans) inheriting from an abstract class (Spans) must implement all
inherited abstract methods. The delegation itself is not tested.
> Approximations on Spans
> -----------------------
>
> Key: LUCENE-6250
> URL: https://issues.apache.org/jira/browse/LUCENE-6250
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Paul Elschot
> Attachments: ApproxSpans-20150216a.patch
>
>
> Approximate spans using existing conjunction/disjunction approximations
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]