ali.ahmed July 2, 20180 Comments

Break Indexing Operation Manually using GroupDocs.Search for .NET 18.6

Break Indexing Operation Manually using GroupDocs.Search for .NET 18.6

July 2, 2018

GroupDocs.Search for .NETGroupDocs team is pleased to announce the monthly release of GroupDocs.Search for .NET 18.6. Using the latest version, you can now break indexing operation manually. Furthermore, obsolete Relevance property is removed from the DetailResultInfo method and ImportDictionary and ExportDictonary methods are added to index dictionaries. We would recommend you to install and use the latest version of API.

Break Indexing Operation Manually

Using GroupDocs.Search API you can break indexing operation manually. The break is not instantaneous and in cases of indexing large documents, the breaking can take about a second. Following is the code snippet to break indexing operation manually:

string folderForIndex = "c:\\MyIndex\\";
string folderWithDocuments = "c:\\MyDocuments\\";

//Creating index
Index index = new Index(folderForIndex);

//Subscribing on Operation Finished event
index.OperationFinished += index_OperationFinished;

//Indexing selected folder asynchronously
index.AddToIndexAsync(folderWithDocuments);

//Breaking indexing
index.Break();

Added ImportDictionary and ExportDictionary methods to index dictionaries

In the latest version of API, Import and Export methods’ names are updated to ImportDictonaires and ExportDictionaries.

Removed obsolete Relevance property from DetailedResultInfo

Obsolete property GroupDocs.Search.DetailedResultInfo.Relevance is removed from DetailResultInfo in version 18.6 of GroupDocs.Search for .NET API.

Available Channels and Resources

Here are a few channels and resources for you to download, try, learn and get technical support on GroupDocs.Search:

Feedback

If you have any suggestions, questions, or queries related to the .NET Search API, we will be happy to hear from you. Just create a forum thread to share your thoughts.

Share on FacebookTweet about this on TwitterShare on LinkedIn
Posted inGroupDocs.Search Product FamilyTags: , ,
 

Related Articles