C# 클래스 Lucene.Net.Util._TestUtil

파일 보기 프로젝트 열기: synhershko/lucene.net

공개 메소드들

메소드 설명
ArrayToString ( System array ) : System.String

Use only for testing.

ArrayToString ( int array ) : System.String

Use only for testing.

CheckIndex ( Lucene.Net.Store.Directory dir ) : bool

This runs the CheckIndex tool on the index in. If any issues are hit, a RuntimeException is thrown; else, true is returned.

GetRandomSocketPort ( ) : int
GetTempDir ( System desc ) : DirectoryInfo

Returns temp dir, containing String arg in its name; does not create the directory.

RmDir ( System dir ) : void
SyncConcurrentMerges ( Lucene.Net.Index.IndexWriter writer ) : void
SyncConcurrentMerges ( Lucene.Net.Index.MergeScheduler ms ) : void

메소드 상세

ArrayToString() 공개 정적인 메소드

Use only for testing.
public static ArrayToString ( System array ) : System.String
array System
리턴 System.String

ArrayToString() 공개 정적인 메소드

Use only for testing.
public static ArrayToString ( int array ) : System.String
array int
리턴 System.String

CheckIndex() 공개 정적인 메소드

This runs the CheckIndex tool on the index in. If any issues are hit, a RuntimeException is thrown; else, true is returned.
public static CheckIndex ( Lucene.Net.Store.Directory dir ) : bool
dir Lucene.Net.Store.Directory
리턴 bool

GetRandomSocketPort() 공개 정적인 메소드

public static GetRandomSocketPort ( ) : int
리턴 int

GetTempDir() 공개 정적인 메소드

Returns temp dir, containing String arg in its name; does not create the directory.
public static GetTempDir ( System desc ) : DirectoryInfo
desc System
리턴 System.IO.DirectoryInfo

RmDir() 공개 정적인 메소드

public static RmDir ( System dir ) : void
dir System
리턴 void

SyncConcurrentMerges() 공개 정적인 메소드

public static SyncConcurrentMerges ( Lucene.Net.Index.IndexWriter writer ) : void
writer Lucene.Net.Index.IndexWriter
리턴 void

SyncConcurrentMerges() 공개 정적인 메소드

public static SyncConcurrentMerges ( Lucene.Net.Index.MergeScheduler ms ) : void
ms Lucene.Net.Index.MergeScheduler
리턴 void