David Smiley commented on LUCENE-7494:


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

To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to