Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
None
-
None
-
None
-
New
Description
At the top of TokenStreamFromTermVector:
//This attribute factory uses less memory when captureState() is called. public static final AttributeFactory ATTRIBUTE_FACTORY = AttributeFactory.getStaticImplementation( AttributeFactory.DEFAULT_ATTRIBUTE_FACTORY, PackedTokenAttributeImpl.class);
This is the default if super() was called with no-args from the constructor, so I believe this can go away. CC dsmiley