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

Robert Muir commented on LUCENE-4934:
-------------------------------------

3 more queries with bugs i still havent fixed:

[junit4:junit4] Tests with failures:
[junit4:junit4]   - 
org.apache.lucene.queryparser.xml.TestParser.testLikeThisQueryXML
[junit4:junit4]   - 
org.apache.lucene.queryparser.xml.TestParser.testBoostingQueryXML
[junit4:junit4]   - 
org.apache.lucene.queryparser.xml.TestParser.testFuzzyLikeThisQueryXML

Its a little disturbing that tests in lucene/queries arent finding these 
problems, only a queryparser test. 

Maybe they arent using newSearcher.

                
> AssertingIndexSearcher should do basic QueryUtils/etc checks on every query
> ---------------------------------------------------------------------------
>
>                 Key: LUCENE-4934
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4934
>             Project: Lucene - Core
>          Issue Type: Test
>            Reporter: Robert Muir
>         Attachments: LUCENE-4934.patch, LUCENE-4934.patch, LUCENE-4934.patch
>
>
> We can start with QueryUtils.check(query): which does some basic 
> hashcode/equals checks.
> Ideally we'd strengthen the checks as we fix problems: e.g. add explanations 
> verifications (checkExplanations) and then finally the more intense check() 
> that does more verifications with deleted docs/next/advance.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to