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

Adrien Grand commented on LUCENE-7372:
--------------------------------------

This should probably be called {{FilterWeight}} to be consistent with the rest 
of the code base? Also, why does its constructor take a Query object too? I 
think it should only take a Weight object and use the query returned by 
Weight.getQuery() to pass to the parent constructor? Otherwise +1.

> factor out a org.apache.lucene.search.DelegatingWeight class
> ------------------------------------------------------------
>
>                 Key: LUCENE-7372
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7372
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Christine Poerschke
>            Assignee: Christine Poerschke
>            Priority: Minor
>         Attachments: LUCENE-7372.patch
>
>
> * {{DelegatingWeight}} to delegate method implementations to the {{Weight}} 
> that it wraps
> * exception: no delegating for the {{bulkScorer}} method implementation since 
> currently not all delegating weights implement/override that default method



--
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