jpountz commented on issue #12142: URL: https://github.com/apache/lucene/issues/12142#issuecomment-1426159441
> I'm not sure about the value of introducing different apis or more separation. The issue in my mind is that `IndexableField` has something called `storedValue` for indexing which is never populated when retrieving stored fields, and it also has a `numericValue()` for retrieval that can be any number type, but than `IndexingChain` always treats as a long. > I don't agree with all the methods on Document today that pretend to offer map-like access but are really linear time searches through a list though, I would support deprecating all those. +1 -- 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: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org