GroupDocs.Search 21.8.1

Install-Package GroupDocs.Search -Version 21.8.1
dotnet add package GroupDocs.Search --version 21.8.1
<PackageReference Include="GroupDocs.Search" Version="21.8.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GroupDocs.Search --version 21.8.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: GroupDocs.Search, 21.8.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install GroupDocs.Search as a Cake Addin
#addin nuget:?package=GroupDocs.Search&version=21.8.1

// Install GroupDocs.Search as a Cake Tool
#tool nuget:?package=GroupDocs.Search&version=21.8.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

.NET API for Search & Index

Version 21.8.1 Nuget

Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License

This .NET API enhances your apps to perform robust search & index operations based on fuzzy as well as synonym algorithms. Supports several types of searches.

Document Search Processing Features

  • Create an index in memory or on the local disk.
  • Merge several indexes.
  • Improve search performance by optimizing the index.
  • Index password-protected files.
  • Index with stop words.
  • Support for indexing additional fields.
  • Supports blended characters.
  • Support for characters indexed as a whole word.
  • Support for character replacement during indexing.
  • Support for custom text extractors.
  • Option for compact and metadata index.
  • Save extracted text in index with different levels of compression.
  • Document filtering during indexing.
  • Delete indexed paths from the index.
  • Filter documents in search results.
  • Search for different object types, such as text, numbers, dates, filenames, etc.
  • Combining different types of search into one search query.
  • Alias substitution in search queries.
  • Perform spell check during the search.
  • Perform keyboard layout correction during the search.
  • Search queries in text or flexible object form.
  • Highlighting search results in the text of the entire document or in text segments.
  • Multiple simultaneous thread-safe searches.
  • Thread-safe search during indexing, updating, or merging operation.
  • Search over several indexes simultaneously.

Indexing Content Supported File Formats

Word Processing: DOC, DOT, DOCX, DOCM, DOTX, DOTM, TXT, ODT, OTT, RTF
Spreadsheets: XLS, XLT, XLSX, XLSM, XLSB, XLTX, XLTM, XLA, XLAM, ODS, OTS, CSV, TSV, XML
Presentations: PPT, PPS, POT, PPTX, PPTM, POTX, POTM, PPSX, PPSM, ODP
Emails: PST, OST, EML, EMLX, MSG
OneNote: ONE
Archives: ZIP
Portable: PDF
Markup: HTML, XHTML, MHTML, MD, XML
eBook: CHM, EPUB, FB2

Indexing Metadata Supported File Formats

Word Processing: DOC, DOT, DOCX, DOCM, DOTX, DOTM, TXT, ODT, OTT, RTF
Spreadsheets: XLS, XLT, XLSX, XLSM, XLSB, XLTX, XLTM, XLA, XLAM, ODS, OTS, CSV, TSV, XML
Presentations: PPT, PPS, POT, PPTX, PPTM, POTX, POTM, PPSX, PPSM, ODP
Emails: PST, OST, EML, EMLX, MSG
OneNote: ONE
Archives: ZIP
Audio: MP3, WAV
Portable: PDF
Markup: HTML, XHTML, MHTML, MD, XML
eBook: CHM, EPUB, FB2
Image: BMP, GIF, JP2, PNG, WEBP, TIFF, JPG, PSD, DJVU
Medical Imaging: DCM, DICOM
Metafiles: EMF, WMF
Microsoft Project: MPP
Torrent: TORRENT
Visio Diagram: VSD, VSS
Video: AVI, MOV, QT, FLV, ASF

Supported Search Types

  • Simple word
  • Boolean
  • Regular expression
  • Faceted
  • Case sensitive
  • Flexible fuzzy
  • Synonym
  • Homophone
  • Wildcard
  • Phrase
  • Data range
  • Numeric range
  • Search by chunks
  • Object type search

Platform Independence

GroupDocs.Search for .NET does not require any external software or third-party tool to be installed. GroupDocs.Search for .NET supports any 32-bit or 64-bit operating system where the .NET or Mono framework is installed. The other details are as follows:

Microsoft Windows: Microsoft Windows Desktop (x86, x64) (XP & up), Microsoft Windows Server (x86, x64) (2000 & up), Windows Azure
Mac OS: Mac OS X
Linux: Linux (Ubuntu, OpenSUSE, CentOS and others)
Development Environments: Microsoft Visual Studio (2010 & up), Xamarin.Android, Xamarin.IOS, Xamarin.Mac, MonoDevelop 2.4 and later.
Supported Frameworks: GroupDocs.Conversion for .NET supports .NET and Mono frameworks.

Get Started

Are you ready to give GroupDocs.Search for .NET a try? Simply execute Install-Package GroupDocs.Search from Package Manager Console in Visual Studio to fetch & reference GroupDocs.Search assembly in your project. If you already have GroupDocs.Search for .Net and want to upgrade it, please execute Update-Package GroupDocs.Search to get the latest version.

Please check the GitHub Repository for other common usage scenarios.

Use C# to Perform Regular Expression Search

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

// creating an index in the specified folder
Index index = new Index(indexFolder);

// indexing documents from the specified folder
index.Add(documentsFolder);

// search for the phrase in text form
// the first caret character at the beginning indicates that this is a regular expression search query
string query1 = "^^(.)\\1{1,}";
// search for two or more identical characters at the beginning of a word
SearchResult result1 = index.Search(query1); 

// search for the phrase in object form
// search for two or more identical characters at the beginning of a word
SearchQuery query2 = SearchQuery.CreateRegexQuery("^(.)\\1{1,}");
SearchResult result2 = index.Search(query2);

Spell Check with Smart Search via C# Code

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

// creating an index in the specified folder
Index index = new Index(indexFolder);

// indexing documents from the specified folder
index.Add(documentsFolder);

// creating search options instance
SearchOptions options = new SearchOptions();
// enabling the spelling correction
options.SpellingCorrector.Enabled = true;
// setting the maximum number of mistakes
options.SpellingCorrector.MaxMistakeCount = 1;
// enabling the option for only the best results of the spelling correction
options.SpellingCorrector.OnlyBestResults = true;

// search for the word "Rleativity" containing a spelling error
// the word "Relativity" will be found that differs from the search query in two transposed letters
SearchResult result = index.Search("Rleativity", options);

Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License

NuGet packages (1)

Showing the top 1 NuGet packages that depend on GroupDocs.Search:

Package Downloads
Conholdate.Total

Conholdate.Total for .NET is a complete package to work with a large number of file formats from Microsoft Word, Excel, PowerPoint, Outlook, Project, Visio, Adobe Acrobat, Illustrator, Photoshop, AutoCAD, OpenOffice and many more. Conholdate.Total for .NET allows you to use any API released under Aspose and GroupDocs for .NET in order to create, convert, read, edit, update and print popular document formats. Moreover, you may view, annotate, watermark, assemble, classify, search, redact, parse, merge and compare documents without needing to install the native applications. It helps you in file format manipulation and document automation via simple API. Conholdate.Total for .NET also includes specialized APIs to read and create barcodes, extract text from images using OCR as well as extract human marked data from questioners, surveys, quizzes, MCQ papers and feedback forms.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
21.8.1 288 8/23/2021
21.8.0 94 8/18/2021
21.3.0 620 3/18/2021
21.2.0 476 2/18/2021
20.11.0 673 11/19/2020
20.8.0 716 8/17/2020
20.6.0 513 6/23/2020
20.4.0 1,241 4/15/2020
20.1.0 629 1/31/2020
19.10.1 657 11/6/2019
19.10.0 327 10/2/2019
19.5.1 397 7/15/2019
19.5.0 362 5/31/2019
19.3.0 391 3/6/2019
19.2.0 411 2/5/2019
18.12.0 552 12/11/2018
18.9.0 540 9/6/2018
18.8.0 692 8/8/2018
18.7.0 628 7/14/2018
18.6.0 639 6/14/2018
18.5.0 571 5/16/2018
18.4.0 661 4/9/2018
18.2.0 657 2/8/2018
18.1.0 673 1/9/2018
17.12.0 827 12/7/2017
17.11.0 656 11/9/2017
17.10.0 568 10/3/2017