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
Key | Summary | Category |
---|---|---|
SEARCHNET-2129 | License setting error while extracting text of documents | Bug |
SEARCHNET-2127 | Add MailFieldNames class containing e-mail field names | Improvement |
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");