Skip to content

groupdocs-search/GroupDocs.Search-for-.NET

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Document Indexing & Search API

GroupDocs.Search for .NET helps build reliable, smart and feature-rich search application for your end-users, supporting all popular document formats. It extracts text and metadata from different files and performs search over all documents. In order to make search process fast and accurate, index is created and documents are added to it. Hence all the search queries or advanced searches are performed over the index.

Directory Description
Examples C# based examples and sample files for quick start.
Showcases ASP.NET MVC based application demonstrating the core features.

Document Indexing Features

  • 80+ supported file formats.
  • Create index in memory or on disk.
  • Update index to take into account changed, deleted and added documents.
  • Merge several indexes into one.
  • Optimize index to improve search performance.
  • Indexing password protected documents.
  • Indexing with stop words.
  • Support for indexing additional fields.
  • Support for 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.
  • Ability to save extracted text in index with different level of compression.
  • Document filtering during indexing.
  • Deleting indexed paths from index.
  • Ability to separately extract data from documents and index them.
  • Support for optical text recognition on images.
  • Calculation and indexing of image hashes for reverse image search.
  • The ability to create a distributed search network that automatically balances the load across nodes.

Document Search Features

  • Simple word search.
  • Boolean search.
  • Regular expression search.
  • Faceted search.
  • Case sensitive search.
  • Flexible fuzzy search.
  • Synonym search.
  • Homophone search.
  • Wildcard search.
  • Phrase search with wildcards.
  • Search for different word forms.
  • Date range search.
  • Numeric range search.
  • Search by chunks (pages).
  • Document filtering in search result.
  • Search for different object types: text, numbers, dates, file names, document types, metadata fields, document creation/modification dates.
  • Combine different types of search into one search query.
  • Alias substitution in search queries.
  • Perform spell check during search.
  • Perform keyboard layout correction during search.
  • Search queries in text or flexible object form.
  • Highlight search results in the text of the entire document or in text segments.
  • Multiple simultaneous thread safe search.
  • Thread safe search during indexing, updating or merging operation.
  • Search over several indexes simultaneously.
  • Built-in support for reverse image search.

Develop & Deploy GroupDocs.Search Anywhere

Microsoft Windows: Windows Desktop & Server (x86, x64), Windows Azure
macOS: Mac OS X
Linux: Ubuntu, OpenSUSE, CentOS, and others
Development Environments: Microsoft Visual Studio, Xamarin.Android, Xamarin.IOS, Xamarin.Mac, MonoDevelop
Supported Frameworks: .NET Framework 2.0 or higher, .NET Standard 2.0, .NET Core 2.1 & 2.0, Mono Framework 1.2 or higher

Getting Started with GroupDocs.Search for .NET

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.

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

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 a 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);

Home | Product Page | Documentation | Demo | API Reference | Examples | Blog | Search | Free Support | Temporary License

About

GroupDocs.Search for .NET examples, plugins and showcase projects

Resources

License

Stars

Watchers

Forks

Packages

No packages published