IndexingReport Class |
Namespace: GroupDocs.Search.Common
The IndexingReport type exposes the following members.
Name | Description | |
---|---|---|
![]() | EndTime |
Gets the indexing end time.
|
![]() | Errors |
Gets the list of errors.
|
![]() | IndexedDocuments |
Gets the list of indexed documents.
|
![]() | IndexedDocumentsSize |
Gets the total length of indexed documents in MB.
|
![]() | IndexingTime |
Gets the indexing duration.
|
![]() | RemovedDocuments |
Gets the list of removed from index documents.
|
![]() | SegmentCount |
Gets the number of index segments.
|
![]() | StartTime |
Gets the indexing start time.
|
![]() | TotalDocumentsInIndex |
Gets the total number of documents in the index.
|
![]() | TotalIndexSize |
Gets the total index size in bytes.
|
![]() | TotalTermCount |
Gets the total number of terms in index.
|
![]() | UpdatedDocuments |
Gets the list of updated documents.
|
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
string indexFolder = @"c:\MyIndex\"; string documentsFolder1 = @"c:\MyDocuments1\"; string documentsFolder2 = @"c:\MyDocuments2\"; // Creating an index in the specified folder Index index = new Index(indexFolder); // Indexing documents index.Add(documentsFolder1); index.Add(documentsFolder2); // Getting indexing reports IndexingReport[] reports = index.GetIndexingReports(); // Printing reports to the console foreach (IndexingReport report in reports) { Console.WriteLine("Time: " + report.StartTime); Console.WriteLine("Duration: " + report.IndexingTime); Console.WriteLine("Documents total: " + report.TotalDocumentsInIndex); Console.WriteLine("Terms total: " + report.TotalTermCount); Console.WriteLine("Indexed documents size (MB): " + report.IndexedDocumentsSize); Console.WriteLine("Index size (MB): " + (report.TotalIndexSize / 1024.0 / 1024.0)); Console.WriteLine(); }