[ https://issues.apache.org/jira/browse/LUCENE-1771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12739785#action_12739785 ]
Michael McCandless commented on LUCENE-1771: -------------------------------------------- bq. why not just make QueryWeight back to Weight (but abstract) OK I think that's a good idea... so then the compilation errors a custom Query will see is 1) they have to change from "implements Weight" to "extends Weight", and 2) they have to add the Searcher arg to explain (and fix their explain code so it expects a single segment w/ the IndexReader, and the top-level Searcher). Sheesh we're really pulling on the little string, here :) > Using explain may double ram reqs for fieldcaches when using > ValueSourceQuery/CustomScoreQuery or for ConstantScoreQuerys that use a > caching Filter. > ---------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: LUCENE-1771 > URL: https://issues.apache.org/jira/browse/LUCENE-1771 > Project: Lucene - Java > Issue Type: Bug > Components: Search > Reporter: Mark Miller > Assignee: Mark Miller > Fix For: 2.9 > > Attachments: LUCENE-1771.patch, LUCENE-1771.patch, LUCENE-1771.patch, > LUCENE-1771.patch > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org