lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Elschot (JIRA)" <>
Subject [jira] [Commented] (LUCENE-7633) Rename Terms to FieldTerms
Date Wed, 18 Jan 2017 16:39:26 GMT


Paul Elschot commented on LUCENE-7633:

The Terms javadocs:

bq. Access to the terms in a specific field. See also Fields

But Terms does more than accessing the terms of a field, it also provides index statistics
for a field.
So in the o.a.l.index package, Field might actually be better name, but that would be confusing
with o.a.l.document.Field.

Perhaps this would be ideal:
Rename Fields to IndexedFields
Rename Terms to IndexedField

The current patch to rename Terms to FieldTerms changes 860 occurrences in 290 source code
so there is no point in keeping this open for a longer period.
I'll close in two weeks or so, unless there are other opinions.

> Rename Terms to FieldTerms
> --------------------------
>                 Key: LUCENE-7633
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Paul Elschot

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message