Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
9.0
-
None
-
New
Description
The visibility of some of the fields in DocValuesTermsQuery make it difficult to efficiently subclass. Especially the "termData" instance variable, which is really core to the functioning of the class but is totally inaccessible from any sub-classes, forcing subclasses to store a duplicate PrefixCodedTerms object, and then juggle the state of both.
Are there any objections to making "termData" (and potentiall some other instance variables) protected instead of private for this class?