[ 
https://issues.apache.org/jira/browse/LUCENE-6419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14494453#comment-14494453
 ] 

Robert Muir commented on LUCENE-6419:
-------------------------------------

+1


> Add AssertingQuery / two-phase iteration to AssertingScorer
> -----------------------------------------------------------
>
>                 Key: LUCENE-6419
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6419
>             Project: Lucene - Core
>          Issue Type: Test
>            Reporter: Robert Muir
>         Attachments: LUCENE-6419.patch
>
>
> I am working on a similar issue with Spans (LUCENE-6411).
> AssertingScorer is currently only used as a top-level wrapper, and it doesnt 
> support asserting for asTwoPhaseIterator (wouldn't help at the moment, the 
> way it is currently used).
> Today some good testing of this is done, but only when 
> RandomApproximationQuery is explicitly used.
> I think we should add AssertingQuery that can wrap a query with asserts and 
> we can then have checks everywhere in a complicated tree?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to