GroupDocs.Search for .NET 19.10.1 Release Notes

Major Features

There are the following bug fixes and improvements:

  • License setting error while extracting text of documents
  • Add MailFieldNames class containing e-mail field names

Full List of Issues Covering all Changes in this Release

KeySummaryCategory
SEARCHNET-2129License setting error while extracting text of documentsBug
SEARCHNET-2127Add MailFieldNames class containing e-mail field namesImprovement

Public API and Backward Incompatible Changes

License setting error while extracting text of documents

Fixed error of setting a license for extracting text of documents.

Fixed error of setting a license for extracting text of documents.

This improvement adds the MailFieldNames class, which contains constants with values of field names of mail documents.

Public API changes

Static class MailMessageBody has been added to GroupDocs.Search.Options namespace.
Constant string MailMessageBodyhas been added to GroupDocs.Search.Options.MailMessageBody class.
Constant string MailSenderName has been added to GroupDocs.Search.Options.MailMessageBody class.
Constant string MailDisplayTo has been added to GroupDocs.Search.Options.MailMessageBody class.
Constant string MailSubject has been added to GroupDocs.Search.Options.MailMessageBody class.

Usecases

This example shows how to use field names constants to search specific fields of documents:

C#

string indexFolder = @"c:\MyIndex";
string documentFolder = @"c:\MyDocuments";
 
// Creating index
Index index = new Index(indexFolder);
 
// Adding documents to index
index.Add(documentFolder);
 
// Searching
SearchResult result = index.Search(MailFieldNames.MailMessageBody + ": meeting");