You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Paul Elschot (JIRA)" <ji...@apache.org> on 2017/01/28 12:31:24 UTC

[jira] [Commented] (LUCENE-7633) Rename Terms to IndexedField (was to FieldTerms)

    [ https://issues.apache.org/jira/browse/LUCENE-7633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15844031#comment-15844031 ] 

Paul Elschot commented on LUCENE-7633:
--------------------------------------

The problem I have with the name Terms is that it is too general, it should be a little more verbose.
I think IndexedField is a good name for what it provides: term enumeration and term statistics.
The other renames just follow this.

In doing this I learned quite a bit about flexible indexing, and I really like the class structure.
With that behind me, I don't really need this renaming any more...

The renames are straightforward, so adopting them elsewhere should be easy.
In case these names are actually preferred, I'd gladly add backward compatible class names.
That would probably boil down to inserting classes with the current names as deprecated superclasses.

> Rename Terms to IndexedField (was to FieldTerms)
> ------------------------------------------------
>
>                 Key: LUCENE-7633
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7633
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Paul Elschot
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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