GroupDocs.Search.NETFramework 24.12.0-alpha-20241218035522

This is a prerelease version of GroupDocs.Search.NETFramework.
dotnet add package GroupDocs.Search.NETFramework --version 24.12.0-alpha-20241218035522                
NuGet\Install-Package GroupDocs.Search.NETFramework -Version 24.12.0-alpha-20241218035522                
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.NETFramework" Version="24.12.0-alpha-20241218035522" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GroupDocs.Search.NETFramework --version 24.12.0-alpha-20241218035522                
#r "nuget: GroupDocs.Search.NETFramework, 24.12.0-alpha-20241218035522"                
#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.NETFramework as a Cake Addin
#addin nuget:?package=GroupDocs.Search.NETFramework&version=24.12.0-alpha-20241218035522&prerelease

// Install GroupDocs.Search.NETFramework as a Cake Tool
#tool nuget:?package=GroupDocs.Search.NETFramework&version=24.12.0-alpha-20241218035522&prerelease                

Advanced Document Search & Indexing .NET API

Package version Package downloads .NET

banner


Product Page Docs API Ref Examples Blog Releases Support License


GroupDocs.Search for .NET is a powerful full-text search API that allows you to search through over 70 document formats in your applications. To make it possible to search instantly across thousands of documents, they must be added to the index.

  • No additional software is required to search through documents of supported formats.
  • Great variety of indexing and search options are provided to meet any requirements.
  • Wide selection of full-text search types is available in text or object form queries.
  • Text recognition on images and reverse image search are supported.
  • High indexing and search performance is achieved by unique algorithms and data structures, optimizations and multi-threaded execution.
  • Various ways of visualizing search results in the text of documents are supported.
  • Index scaling and load balancing are provided out of the box.

Supported Document Formats

https://docs.groupdocs.com/search/net/supported-document-formats/

Supported Features

Supported Search Types

Getting Started

Create an index

First of all, you need to create an index. Documents will be processed and added to the index in a special format that provides very high search speed. The following example shows how to create an index on disk.

string indexFolder = @"c:/MyIndex/"; // Specify the path to the index folder
Index index = new Index(indexFolder); // Creating an index in the specified folder

Add files to the index

Once the index is created, you can add documents to it that you want to search. Adding documents to the index takes some time to convert the data into a searchable format. The following example shows how to perform indexing synchronously.

string documentsFolder = @"c:/MyDocuments/"; // Specify the path to a folder containing documents to search
index.Add(documentsFolder); // Synchronous indexing documents from the specified folder

Search in the index

After indexing your documents, you can search the index. The example below shows how to perform simple search in the index.

string query = "Einstein"; // Specify a search query
SearchResult result = index.Search(query); // Search in the index

Highlight search results

Search results can be seen highlighted in the text of the entire document or in fragments of text. The following example shows how to highlight search results in the text of the entire document.

if (result.DocumentCount > 0)
{
    FoundDocument document = result.GetFoundDocument(0); // Getting the first found document
    OutputAdapter outputAdapter = new FileOutputAdapter(OutputFormat.Html, @"c:\Highlighted.html"); // Creating an output adapter to a file in HTML format
    DocumentHighlighter highlighter = new DocumentHighlighter(outputAdapter); // Creating a highlighter object
    index.Highlight(document, highlighter); // Generating an HTML output document with search results highlighted
}

Product Page Docs API Ref Examples Blog Releases Support License


Tags

Aspose | GroupDocs | Advanced Document Search | Indexing API | .NET Search Library | Semantic Search API | Boolean Search | Fuzzy Search | Metadata Search | Entity Recognition API | Sentiment Analysis | Custom Entity Extraction | Document Classification API | Full-Text Search | Field Search | Regular Expressions Search | Proximity Search | Custom Search Ranking | Indexing Optimization | Distributed Search Network | Reverse Image Search | Search API | .NET Document Search | Document Indexing API | GroupDocs.Search for .NET | Text Search API | Search Results Highlighting | Document Metadata Search | Snippets Extraction | Wildcard Search | Search API for .NET

Product Compatible and additional computed target framework versions.
.NET Framework net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

GitHub repositories

This package is not used by any popular GitHub repositories.