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 04:09:42 UTC
[jira] [Comment Edited] (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 edited comment on LUCENE-5280 at 10/14/13 2:08 AM:
----------------------------------------------------------------
I was wondering 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 :)
was (Author: areek):
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