lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Becky I (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENENET-538) SpellChecker.Net.Search.Spell - IndexDictionary(IDictionary dict, int mergeFactor, int ramMB) does not set SetRAMBufferSizeMB
Date Mon, 24 Feb 2014 18:15:21 GMT
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)

Mime
View raw message