C# Class Lucene.Net.Util._TestUtil

Afficher le fichier Open project: synhershko/lucene.net

Méthodes publiques

Méthode Description
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

Method Details

ArrayToString() public static méthode

Use only for testing.
public static ArrayToString ( System array ) : System.String
array System
Résultat System.String

ArrayToString() public static méthode

Use only for testing.
public static ArrayToString ( int array ) : System.String
array int
Résultat System.String

CheckIndex() public static méthode

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
Résultat bool

GetRandomSocketPort() public static méthode

public static GetRandomSocketPort ( ) : int
Résultat int

GetTempDir() public static méthode

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

RmDir() public static méthode

public static RmDir ( System dir ) : void
dir System
Résultat void

SyncConcurrentMerges() public static méthode

public static SyncConcurrentMerges ( Lucene.Net.Index.IndexWriter writer ) : void
writer Lucene.Net.Index.IndexWriter
Résultat void

SyncConcurrentMerges() public static méthode

public static SyncConcurrentMerges ( Lucene.Net.Index.MergeScheduler ms ) : void
ms Lucene.Net.Index.MergeScheduler
Résultat void