[
https://issues.apache.org/jira/browse/LUCENE-7372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15372808#comment-15372808
]
Adrien Grand commented on LUCENE-7372:
--------------------------------------
Building your own query/weight is expert, so I'm more in favour of internal.
While we want the API to consume queries to be stable, since this is what
Lucene is about, I don't see it as a goal as far as implementing custom
queries/weights is concerned.
Regarding the other Filter* classes, the annotation is indeed not used
consistently. See also this comment:
https://issues.apache.org/jira/browse/LUCENE-7123?focusedCommentId=15204103&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15204103.
> factor out a org.apache.lucene.search.FilterWeight 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, LUCENE-7372.patch, LUCENE-7372.patch
>
>
> * {{FilterWeight}} to delegate method implementations to the {{Weight}} that
> it wraps
> * exception: no delegating for the {{bulkScorer}} method implementation since
> currently not all FilterWeights 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]