Class IndexSplitter
Command-line tool that enables listing segments in an index, copying specific segments to another index, and deleting segments from an index.
This tool does file-level copying of segments files. This means it's unable to split apart a single segment into multiple segments. For example if your index is a single segment, this tool won't help. Also, it does basic file-level copying (using simple Stream) so it will not work with non FSDirectory Directory impls.
@lucene.experimental You can easily accidentally remove segments from your index so be careful!
Inheritance
System.Object
IndexSplitter
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Lucene.Net.dll
Syntax
public class IndexSplitter
Constructors
Name | Description |
---|---|
IndexSplitter(DirectoryInfo) |
Properties
Name | Description |
---|---|
Infos |
Methods
Name | Description |
---|---|
ListSegments() | |
Main(String[]) | |
Remove(ICollection<String>) | |
Split(DirectoryInfo, ICollection<String>) |