GroupDocs.Search for .NET 18.6 Release Notes

Major Features

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

  • Remove obsolete Relevance property from DetailedResultInfo
  • Implement possibility to break indexing operation manually

All Changes

KeySummaryCategory
SEARCHNET-1564Remove obsolete Relevance property from DetailedResultInfoBreaking Changes
SEARCHNET-957Implement possibility to break indexing operation manuallyEnhancement
SEARCHNET-1551Add ImportDictionary and ExportDictionary methods to index dictionariesEnhancement

Public API and Backward Incompatible Changes

Remove obsolete Relevance property from DetailedResultInfo

Description

Removed obsolete property GroupDocs.Search.DetailedResultInfo.Relevance

Public API changes

Property Relevance has been removed from GroupDocs.Search.DetailedResultInfo class.

Usecases

None.

Implement possibility to break indexing operation manually

Description

This enhancement allows you breaking indexing operation. The break is not instantaneous and in cases of indexing large documents, the breaking can take about a second.

Public API changes

Method void Break has been added to GroupDocs.Search.Index class.

Usecases

Following code snippet shows how to break indexing operation:

C#

string folderForIndex = "c:\\MyIndex\\";
string folderWithDocuments = "c:\\MyDocuments\\";
Index index = new Index(folderForIndex);  // Creating index in c:\MyIndex\ folder
index.OperationFinished += index_OperationFinished; // Subscribing on Operation Finished event
index.AddToIndexAsync(folderWithDocuments); // indexing selected folder asynchronously

index.Break(); // Breaking indexing

Add ImportDictionary and ExportDictionary methods to index dictionaries

Description

Updated methods to match names for both Java and .NET platforms.

Public API changes

Method ImportDictionary has been added to GroupDocs.Search.AliasDictionary class.
Method ExportDictionary has been added to GroupDocs.Search.AliasDictionary class.
Method Import has been marked as obsolete in GroupDocs.Search.AliasDictionary class.
Method Export has been marked as obsolete in GroupDocs.Search.AliasDictionary class.

Method ImportDictionary has been added to GroupDocs.Search.CharacterReplacementDictionary class.
Method ExportDictionary has been added to GroupDocs.Search.CharacterReplacementDictionary class.
Method Import has been marked as obsolete in GroupDocs.Search.CharacterReplacementDictionary class.
Method Export has been marked as obsolete in GroupDocs.Search.CharacterReplacementDictionary class.

Method ImportDictionary has been added to GroupDocs.Search.Alphabet class.
Method ExportDictionary has been added to GroupDocs.Search.Alphabet class.
Method Import has been marked as obsolete in GroupDocs.Search.Alphabet class.
Method Export has been marked as obsolete in GroupDocs.Search.Alphabet class.

Method ImportDictionary has been added to GroupDocs.Search.SpellingCorrector class.
Method ExportDictionary has been added to GroupDocs.Search.SpellingCorrector class.
Method Import has been marked as obsolete in GroupDocs.Search.SpellingCorrector class.

Method ImportDictionary has been added to GroupDocs.Search.HomophoneDictionary class.
Method ExportDictionary has been added to GroupDocs.Search.HomophoneDictionary class.
Method Import has been marked as obsolete in GroupDocs.Search.HomophoneDictionary class.
Method Export has been marked as obsolete in GroupDocs.Search.HomophoneDictionary class.

Method ImportDictionary has been added to GroupDocs.Search.StopWordDictionary class.
Method ExportDictionary has been added to GroupDocs.Search.StopWordDictionary class.
Method Import has been marked as obsolete in GroupDocs.Search.StopWordDictionary class.
Method Export has been marked as obsolete in GroupDocs.Search.StopWordDictionary class.

Method ImportDictionary has been added to GroupDocs.Search.SynonymDictionary class.
Method ExportDictionary has been added to GroupDocs.Search.SynonymDictionary class.
Method Import has been marked as obsolete in GroupDocs.Search.SynonymDictionary class.
Method Export has been marked as obsolete in GroupDocs.Search.SynonymDictionary class.

Changing Details
Old method nameNew method name
GroupDocs.Search.AliasDictionary.ImportGroupDocs.Search.AliasDictionary.ImportDictionary
GroupDocs.Search.AliasDictionary.ExportGroupDocs.Search.AliasDictionary.ExportDictionary
GroupDocs.Search.CharacterReplacementDictionary.ImportGroupDocs.Search.CharacterReplacementDictionary.ImportDictionary
GroupDocs.Search.CharacterReplacementDictionary.ExportGroupDocs.Search.CharacterReplacementDictionary.ExportDictionary
GroupDocs.Search.Alphabet.ImportGroupDocs.Search.Alphabet.ImportDictionary
GroupDocs.Search.Alphabet.ExportGroupDocs.Search.Alphabet.ExportDictionary
GroupDocs.Search.SpellingCorrector.ImportGroupDocs.Search.SpellingCorrector.ImportDictionary
GroupDocs.Search.SpellingCorrector.ExportGroupDocs.Search.SpellingCorrector.ExportDictionary
GroupDocs.Search.HomophoneDictionary.ImportGroupDocs.Search.HomophoneDictionary.ImportDictionary
GroupDocs.Search.HomophoneDictionary.ExportGroupDocs.Search.HomophoneDictionary.ExportDictionary
GroupDocs.Search.StopWordDictionary.ImportGroupDocs.Search.StopWordDictionary.ImportDictionary
GroupDocs.Search.StopWordDictionary.ExportGroupDocs.Search.StopWordDictionary.ExportDictionary
GroupDocs.Search.SynonymDictionary.ImportGroupDocs.Search.SynonymDictionary.ImportDictionary
GroupDocs.Search.SynonymDictionary.ExportGroupDocs.Search.SynonymDictionary.ExportDictionary