You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Areek Zillur (JIRA)" <ji...@apache.org> on 2013/10/14 03:48:42 UTC

[jira] [Commented] (LUCENE-5280) Rename TermFreqPayloadIterator -> SuggestionIterator

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

Areek Zillur commented on LUCENE-5280:
--------------------------------------

I was wondering the if "SuggestionInputIterator" would be a better name? At least to me SuggestionIterator seems to imply the iterator for List<LookupResult> rather than the iterator that gets consumed by all the suggesters. Though I have to admit SuggestionIterator sounds a lot nicer than SuggestionInputIterator :)

> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org