lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <>
Subject [jira] [Updated] (LUCENE-4820) Add optional payload to AnalyzingSuggester
Date Sun, 10 Mar 2013 13:11:12 GMT


Michael McCandless updated LUCENE-4820:

    Attachment: LUCENE-4820.patch

Initial patch, with tests (passing).

I created a separate TermFreqPayloadIterator extending
TermFreqIterator, which you pass to, and then
added payload to LookupResult.

> Add optional payload to AnalyzingSuggester
> ------------------------------------------
>                 Key: LUCENE-4820
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: modules/spellchecker
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 5.0, 4.3
>         Attachments: LUCENE-4820.patch
> It's useful to be able to store custom data (eg maybe a primary key or
> a URL or something) with each suggestion, so that the UI can do things
> like render an image along with each suggestion, or direct to a
> specific URL if the user clicks that suggestion, etc.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message