[ 
https://issues.apache.org/jira/browse/LUCENENET-538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shad Storhaug closed LUCENENET-538.
-----------------------------------
    Resolution: Won't Fix

Closing as SpellChecker no longer exists in Lucene.Net 4.8.0 and 
MaxBufferedDocs is now a property of LiveIndexWriterConfig instead of a method 
on IndexWriter.

> SpellChecker.Net.Search.Spell - IndexDictionary(IDictionary dict, int 
> mergeFactor, int ramMB) does not set SetRAMBufferSizeMB
> -----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: LUCENENET-538
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-538
>             Project: Lucene.Net
>          Issue Type: Bug
>          Components: Lucene.Net Contrib
>    Affects Versions: Lucene.Net 3.0.3
>            Reporter: Becky I
>              Labels: spellchecker
>
> The method description for the "void IndexDictionary(IDictionary dict, int 
> mergeFactor, int ramMB)" implies that the RAM Buffer Size would be adjusted 
> using the ramMB value provided, but instead the data is being used to set the 
> SetMaxBufferedDocs.
> (See SpellChecker.cs line 405)
> I propose that this should be changed from
> writer.SetMaxBufferedDocs(ramMB); 
> to
> writer.SetRAMBufferSizeMB(ramMB);



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to