[ https://issues.apache.org/jira/browse/LUCENE-5666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14084125#comment-14084125 ]
Mikhail Khludnev commented on LUCENE-5666: ------------------------------------------ [~rcmuir] I'm poring SOLR-6234 to trunk, and observe the annoying issue. Before, FieldCache was always available, but now if doc-vals are not written (indexed), DocValues.get... yields emptyXxx, that break tests silently. I'd rather prefer to get NPE or other Illegal..Exception explicitly. What do I see wrong? > Add UninvertingReader > --------------------- > > Key: LUCENE-5666 > URL: https://issues.apache.org/jira/browse/LUCENE-5666 > Project: Lucene - Core > Issue Type: Improvement > Reporter: Robert Muir > Fix For: 5.0 > > Attachments: LUCENE-5666.patch > > > Currently the fieldcache is not pluggable at all. It would be better if > everything used the docvalues apis. > This would allow people to customize the implementation, extend the classes > with custom subclasses with additional stuff, etc etc. > FieldCache can be accessed via the docvalues apis, using the FilterReader api. -- This message was sent by Atlassian JIRA (v6.2#6252) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org