uchiha-asha commented on PR #16864:
URL: https://github.com/apache/lucene/pull/16864#issuecomment-7103253071

   Hi @msokolov, thanks for the review. The motivation for this change came 
from a production elasticsearch cluster (18.5M `FieldInfo` objects) where it 
saved `5.5% (2.63GB)` of the reachable heap. I am also adding following lucene 
benchmark.
   
   
   Fields per segment | Segments updated | Retained field metadata saved
   -- | -- | --
   128 | 32 of 32 | 1.50 MiB
   2,048 | 8 of 32 | 6.00 MiB
   2,048 | 32 of 32 | 24.00 MiB
   8,192 | 32 of 32 | 96.00 MiB
   
   About the maintenance part, would it help if I add a test that fails when 
FieldInfo gains a field that isn't compared?


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

Reply via email to