[ https://issues.apache.org/jira/browse/LUCENE-7494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15570296#comment-15570296 ]
David Smiley commented on LUCENE-7494: -------------------------------------- +1. Related conceptually is another idea I've had kicking around: Does {{Fields}} need to exist? It seems like a pointless intermediary. Why not have {{LeafReader.getTerms(fieldName)}} instead? One loses the ability to get the count and iterate over indexed fields, but it's not clear what real use-cases are for that and such rare needs could figure that out with FieldInfos. If it sounds reasonable to you all I'll file a separate issue. > Explore making PointValues a per-field API like doc values > ---------------------------------------------------------- > > Key: LUCENE-7494 > URL: https://issues.apache.org/jira/browse/LUCENE-7494 > Project: Lucene - Core > Issue Type: Wish > Reporter: Adrien Grand > Priority: Minor > > This is a follow-up to LUCENE-7491. Maybe we could simplify things a bit by > changing {{LeafReader.getPointValues()}} to > {{LeafReader.getPointValues(String fieldName)}} and removing all {{String > fieldName}} parameters from {{PointValues}}? -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org