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

Paul Elschot commented on LUCENE-6411:
--------------------------------------

Thanks.

> Add AssertingSpans
> ------------------
>
>                 Key: LUCENE-6411
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6411
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>             Fix For: Trunk, 5.2
>
>
> Currently Spans needed a lot of asserts in every Spans to make it possibly to 
> debug things. If you miss a single assert, bugs are hidden or not narrowed 
> down the problematic Spans class. 
> Instead I think it would be better if we made a 
> test-framework/AssertingSpansQuery that wrapped another SpanQuery and added 
> all the checks. We could use it to really improve the debuggability and 
> coverage of tests.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to