Method WriteSegmentsGen
WriteSegmentsGen(Directory, Int64)
A utility for writing the SEGMENTS_GEN file to a Directory.
NOTE: this is an internal utility which is kept public so that it's accessible by code from other packages. You should avoid calling this method unless you're absolutely sure what you're doing!
@lucene.internal
Declaration
public static void WriteSegmentsGen(Directory dir, long generation)
Parameters
Type | Name | Description |
---|---|---|
Directory | dir | |
System.Int64 | generation |