AddToRepository

AddToRepository(Index)

Adds an index to the index repository.

public void AddToRepository(Index index)
Parameter Type Description
index Index The index to add.

Examples

The example demonstrates how to add an index to the index repository.

Index index = new Index();

IndexRepository indexRepository = new IndexRepository();

indexRepository.AddToRepository(index);

See Also


AddToRepository(string)

Opens and adds an index to the index repository.

public void AddToRepository(string indexFolder)
Parameter Type Description
indexFolder String The index folder.

Examples

The example demonstrates how to add an index to the index repository.

string indexFolder = @"c:\MyIndex\";

IndexRepository indexRepository = new IndexRepository();

indexRepository.AddToRepository(indexFolder);

See Also