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 05:48:42 UTC
[jira] [Updated] (LUCENE-5280) Rename TermFreqPayloadIterator ->
SuggestionIterator
[ https://issues.apache.org/jira/browse/LUCENE-5280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Areek Zillur updated LUCENE-5280:
---------------------------------
Attachment: LUCENE-5280.patch
Given Michael agrees with the above discussion, here is the patch (no functional changes):
- renamed TermFreqPayloadIterator -> InputIterator (moved from .spell to .suggest)
- renamed BufferingTermFreqPayloadIteratorWrapper -> BufferedInputIterator
- renamed UnsortedTermFreqPayloadIteratorWrapper -> UnsortedInputIterator
- renamed TermWeightPayloadIterator -> DocumentInputIterator (in DocumentDictionary)
- Got rid of unused imports in DocumentDictionary
- renamed SortedTermFreqPayloadIteratorWrapper -> SortedInputIterator
- (in tests) renamed TermFreqPayload -> Input
- (in tests) renamed TermFreqPayloadArrayIterator -> InputArrayIterator
- renamed TestTermFreqPayloadIterator -> TestInputIterator
> 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
>
> Attachments: LUCENE-5280.patch
>
>
> 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