RandomIndexWriter

constructor(r: Random, dir: Directory)

create a RandomIndexWriter with a random config: Uses MockAnalyzer


constructor(r: Random, dir: Directory, a: Analyzer)

create a RandomIndexWriter with a random config


constructor(r: Random, dir: Directory, c: IndexWriterConfig)
constructor(r: Random, dir: Directory, c: IndexWriterConfig, useSoftDeletes: Boolean)

create a RandomIndexWriter with the provided config