rmuir commented on PR #12169:
URL: https://github.com/apache/lucene/pull/12169#issuecomment-1467949618
Here is what the documentation says:
```
/**
* Add this {@link Attribute} to a {@link TermsEnum} returned by {@link
* MultiTermQuery#getTermsEnum(Terms,AttributeSource)} and update the boost
on each returned term.
* This enables to control the boost factor for each matching term in {@link
* MultiTermQuery#SCORING_BOOLEAN_REWRITE} or {@link TopTermsRewrite} mode.
{@link FuzzyQuery} is
* using this to take the edit distance into account.
*
* <p><b>Please note:</b> This attribute is intended to be added only by the
TermsEnum to itself in
* its constructor and consumed by the {@link MultiTermQuery.RewriteMethod}.
*
* @lucene.internal
*/
```
I am not going to leave the discussion for another time. This needs to be
fixed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]