You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "Becky I (JIRA)" <ji...@apache.org> on 2014/02/24 19:15:21 UTC

[jira] [Created] (LUCENENET-538) SpellChecker.Net.Search.Spell - IndexDictionary(IDictionary dict, int mergeFactor, int ramMB) does not set SetRAMBufferSizeMB

Becky I created LUCENENET-538:
---------------------------------

             Summary: 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


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.1.5#6160)