[
https://issues.apache.org/jira/browse/LUCENE-5477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael McCandless updated LUCENE-5477:
---------------------------------------
Attachment: LUCENE-5477.patch
Initial patch, with new add/update/refresh methods added to
AnalyzingInfixSuggester.
I added a "testBasicNRT" and it seems to pass, but I still need to add a
randomized test.
I think the approach will work well: I'm just using SortingMergePolicy and
EarlyTerminatingSortingCollector, and I switched to SearcherManager to pull the
current searcher.
> add near-real-time suggest building to AnalyzingInfixSuggester
> --------------------------------------------------------------
>
> Key: LUCENE-5477
> URL: https://issues.apache.org/jira/browse/LUCENE-5477
> Project: Lucene - Core
> Issue Type: Improvement
> Components: modules/spellchecker
> Reporter: Michael McCandless
> Fix For: 4.8, 5.0
>
> Attachments: LUCENE-5477.patch
>
>
> Because this suggester impl. is just a Lucene index under-the-hood, it should
> be straightforward to enable near-real-time additions/removals of suggestions.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]