IManagementWebService CompactIndex Method Ankiro Enterprise Suite Reference Documentation
Optimizes and compacts the underlying index files on associated servers for performance reasons. Each index update operation, i.e. a DocumentWebService.ProcessDocuments() / DocumentWebService.Commit() cycle, creates an incremental physical index file on each associated search server. Searching multiple incremental index files incurs a small overhead, which may be alleviated by manually compacting the index. However, this process is also carried out automatically by each search server node based on configuration settings.

Namespace: Ankiro.SearchServer.Web.Services
Assembly: Ankiro.SearchServer.Web (in Ankiro.SearchServer.Web.dll) Version: 1.13.770.19253 (1.13.770.19253)
Syntax

void CompactIndex(
	int serverIndexId,
	int maxNumIndexFiles
)

Parameters

serverIndexId
Type: System Int32
maxNumIndexFiles
Type: System Int32
See Also