You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2013/04/15 18:28:15 UTC
[jira] [Updated] (LUCENE-4934) AssertingIndexSearcher should do
basic QueryUtils/etc checks on every query
[ https://issues.apache.org/jira/browse/LUCENE-4934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Muir updated LUCENE-4934:
--------------------------------
Attachment: LUCENE-4934.patch
Here's a start just doing the simplest check. I am currently running tests fixing the bugs this one found... I'm gonna see if we can do the explanations test though (at some point we will hit bugs in spans/payloads like LUCENE-4219)
> 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
>
>
> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org