GroupDocs.Search 21.8.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package GroupDocs.Search --version 21.8.1                
NuGet\Install-Package GroupDocs.Search -Version 21.8.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<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                
#r "nuget: GroupDocs.Search, 21.8.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. 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                

.NET API for Search & Index

Version 21.8.1 Nuget

banner

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.

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

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net20 is compatible.  net35 was computed.  net40 was computed.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
24.10.0 414 10/30/2024
24.9.0 1,308 9/11/2024
24.8.0 1,071 8/22/2024
24.6.0 1,013 6/20/2024
24.5.0 668 5/14/2024
24.4.0 1,337 4/18/2024
24.3.0 3,134 3/20/2024
24.2.1 894 2/29/2024
24.2.0 695 2/28/2024
24.1.0 542 1/26/2024
23.12.0 2,032 12/4/2023
23.11.0 3,406 11/23/2023
23.10.1 2,001 10/20/2023
23.10.0 1,463 10/2/2023
23.6.0 4,443 6/15/2023
23.2.0 4,297 2/28/2023
22.11.0 2,391 11/24/2022
22.10.1 2,382 10/12/2022
22.10.0 1,470 10/7/2022
21.8.1 40,641 8/23/2021
21.8.0 1,550 8/18/2021
21.3.0 42,720 3/18/2021
21.2.0 27,403 2/18/2021
20.11.0 36,441 11/19/2020
20.8.0 69,697 8/17/2020
20.6.0 64,011 6/23/2020
20.4.0 66,924 4/15/2020
20.1.0 53,721 1/31/2020
19.10.1 57,971 11/6/2019
19.10.0 1,007 10/2/2019
19.5.1 845 7/15/2019
19.5.0 804 5/31/2019
19.3.0 842 3/6/2019
19.2.0 925 2/5/2019
18.12.0 1,088 12/11/2018
18.9.0 1,135 9/6/2018
18.8.0 1,304 8/8/2018
18.7.0 1,187 7/14/2018
18.6.0 1,245 6/14/2018
18.5.0 1,144 5/16/2018
18.4.0 1,296 4/9/2018
18.2.0 1,258 2/8/2018
18.1.0 1,254 1/9/2018
17.12.0 1,476 12/7/2017
17.11.0 1,250 11/9/2017
17.10.0 1,127 10/3/2017