GroupDocs.Search for .NET 17.07 Release Notes

Major Features

There are 3 features and enhancements in this regular monthly release. The most notable are:

  • SEARCHNET-1059 Implement support for FictionBook (fb2) format
  • SEARCHNET-244 Implement Indexing Report functionality
  • SEARCHNET-242 Implement Search Report functionality

All Changes

KeySummaryCategory
SEARCHNET-1059Implement support of FictionBook (fb2) formatNew Feature
SEARCHNET-244Implement Indexing Report functionalityNew Feature
SEARCHNET-242Implement Search Report functionalityNew Feature

Public API and Backward Incompatible Changes

Implement search report functionality

The feature allows making the report with detailed information about searching.

Public API Changes
SearchingReport class has been added to GroupDocs.Search namespace.
SearchingReport[] GetSearchingReport() method has been added to GroupDocs.Search.Index class.

Usage:

C#

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

Index index = new Index(indexFolder);
index.AddToIndex(documentsFolder);

SearchResults results1 = index.Search(query1, params1);
SearchResults results2 = index.Search(query2, params2);
SearchResults results3 = index.Search(query3, params3);

// Get searching report
SearchingReport[] report = index.GetSearchingReport();

foreach (SearchingReport record in report)
{
  Console.WriteLine("Searching takes {0}, {1} results was found.", record.SearchingTime, record.ResultCount);
}

Implement indexing report functionality

The feature allows making the report with detailed information about indexing.

**Public API Changes
**IndexingReport class has been added to GroupDocs.Search namespace.
IndexingReport[] GetIndexingReport() method has been added to GroupDocs.Search.Index class.

This example demonstrates how to get indexing report:

C#

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

Index index = new Index(indexFolder);
index.AddToIndex(documentsFolder);

// Get indexing report
IndexingReport[] report = index.GetIndexingReport();

foreach (IndexingReport record in report)
{
  Console.WriteLine("Indexing takes {0}, index size: {1}.", record.IndexingTime, record.TotalIndexSize);
}

Implement support for FictionBook (fb2) format

Implemented support of FictionBook (fb2) format.

Public API Changes
Enum value FictionBook has been added to GroupDocs.Search.DocumentType enum.