[ https://issues.apache.org/jira/browse/LUCENE-4934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13631908#comment-13631908 ]
Uwe Schindler commented on LUCENE-4934: --------------------------------------- +1, I also like the Term.toString() method :-) We may use a similar approach in Solr's AnalysisRequestHandler when completely binary terms are generated (currently it prints the raw binary term and the string rep next to each other). If the latter fails, it should only return the binary term in the NämedList. > 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