Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
Lucene.Net 3.0.3
-
None
Description
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);