Class RandomIndexWriter
Silly class that randomizes the indexing experience. EG it may swap in a different merge policy/scheduler; may commit periodically; may or may not forceMerge in the end, may flush by doc count instead of RAM, etc.
Inheritance
Assembly: Lucene.Net.TestFramework.dll
Syntax
public class RandomIndexWriter : IDisposable
Constructors
Name | Description |
---|---|
RandomIndexWriter(Random, Directory, IndexWriterConfig) | create a RandomIndexWriter with the provided config |
RandomIndexWriter(Random, Directory, Analyzer, Similarities.Similarity, TimeZoneInfo) | create a RandomIndexWriter with a random config: Uses TEST_VERSION_CURRENT LUCENENET specific
Similarity and TimeZone parameters allow a RandomIndexWriter to be
created without adding a dependency on
|
RandomIndexWriter(Random, Directory, Similarities.Similarity, TimeZoneInfo) | create a RandomIndexWriter with a random config: Uses TEST_VERSION_CURRENT and MockAnalyzer LUCENENET specific
Similarity and TimeZone parameters allow a RandomIndexWriter to be
created without adding a dependency on
|
RandomIndexWriter(Random, Directory, LuceneVersion, Analyzer, Similarities.Similarity, TimeZoneInfo) | Creates a RandomIndexWriter with a random config LUCENENET specific
Similarity and TimeZone parameters allow a RandomIndexWriter to be
created without adding a dependency on
|
Fields
Name | Description |
---|---|
w |
Properties
Name | Description |
---|---|
DoRandomForceMergeAssert | |
MaxDoc | |
NumDocs | |
RandomForceMerge | |
Reader |