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

Robert Muir commented on LUCENE-5280:
-------------------------------------

I have two questions: what in the .spell package really uses this interface? 
Shouldn't it go into suggest?

If HighFrequencyDictionary still wants to "use it" thats fine I think, but 
nothing in .spell cares about any of these iterators except for that they are 
BytesRefIterator (they just want to consume terms): I think it belongs in 
suggest.

So if we agree it belongs there, I think InputIterator is then a good name? it 
would be org.apache.lucene.suggest.InputIterator...




> Rename TermFreqPayloadIterator -> SuggestionIterator
> ----------------------------------------------------
>
>                 Key: LUCENE-5280
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5280
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 4.6, 5.0
>
>
> The current name is cumbersome, and annoying to change whenever we add 
> something to the iterator (in this case payloads).  Since we are breaking it 
> anyway in 4.6, I think we should take the opportunity to find a better name.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

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

Reply via email to