GroupDocs.Search for .NET is an efficient document search and indexing API designed to facilitate software and application developers to perform advanced text search operations across a diverse set of file formats. The API supports Microsoft Office (Word, Excel, PowerPoint), PDF, ODT, RTF, TXT, OTT, ODS, ODP, MPP, VSD, ONE, EML, PST, MSG, HTML, XML, MP3, MOV, AVI, ZIP, EPUB, PSD, JPG, GIF, BMP, TIFF, WEBP, and more. Whether you are developing a document management solution or a data analysis system, GroupDocs.Search for .NET API will help you by offering robust search and indexing functionality to integrate into your solutions seamlessly.
Multiple query types are supported by the .NET text search API, including simple search, boolean search, regular expression (regex) search, fuzzy search, reverse image search, wildcard search, and more, to smartly search through different indexes and retrieve data and information from your documents, images, and other files. The .NET API is a complete index management solution to create, merge, and optimize indexes. Users can work with protected documents, search for data with text, numerical data, file names, and other types of objects, apply filters to search results, perform thread-safe searching and spell-checking, manage multiple indexes, and do much more. GroupDocs.Search for .NET is an indispensable option to streamline your document and text search and indexing operations with remarkable simplicity.
Please review the list of prerequisites related to the recommended framework, development environment, and OS settings on the System Requirements page before getting started with the .NET document search API. Please ensure compliance with these requirements to enjoy a seamless API usage experience.
Please proceed to the downloads section to download the MSI installer or the DLLs and install the .NET indexing library. You can also use the NuGet package to set up the library. Given below is the command for the Visual Studio package manager console:
GroupDocs.Search for .NET boasts support for various query types, such as fuzzy, regular expression, wildcard, and boolean, to help you conveniently search through indexes to find the required information. With excellent search and indexing capabilities, this powerful API enables programmers to enhance search operations while handling large and complex data sets. One of the prominent features of the API is applying different filters to the documents when indexing them. We will review how to use the .NET text search API for quickly performing boolean search and filtering documents within the .NET search and indexing solutions.
Boolean search allows the use of AND, NOT, and OR boolean operators in simple and nested search queries. Developers can use boolean search to combine multiple search queries for data retrieval. This C# coding example explains using the AND operator for data 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 with a text query
SearchResult result1 = index.Search("theory AND relativity");
// Search with object query
SearchQuery wordQuery1 = SearchQuery.CreateWordQuery("theory");
SearchQuery wordQuery2 = SearchQuery.CreateWordQuery("relativity");
SearchQuery andQuery = SearchQuery.CreateAndQuery(wordQuery1, wordQuery2);
SearchResult result2 = index.Search(andQuery);
Applying filters to search indexes makes data sorting and analysis more efficient. You can apply document filters to indexes using the .NET indexing API and enhance search performance with advanced document indexing. Please check out the following example to learn more.
string indexFolder = @"c:\MyIndex\";
string documentsFolder = @"c:\MyDocuments\";
// Creating a filter that skips documents with extensions '.doc', '.docx', '.rtf'
IndexSettings settings = new IndexSettings();
DocumentFilter fileExtensionFilter = DocumentFilter.CreateFileExtension(".doc", ".docx", ".rtf"); // Creating file extension filter that allows only specified extensions
DocumentFilter invertedFilter = DocumentFilter.CreateNot(fileExtensionFilter); // Inverting file extension filter to allow all extensions except specified ones
settings.DocumentFilter = invertedFilter;
// Creating an index in the specified folder
Index index = new Index(indexFolder, settings);
// Indexing documents
index.Add(documentsFolder);
You can find more working code examples on the GitHub examples page of GroupDocs.Search for .NET; please visit the page and check out the examples. Please use our cross-platform Free Online Document Text Search and Indexing Apps to perform regex, boolean, phrase, wildcard, fuzzy, and other types of searches on PDF, DOCX, PPTX, XLSX, PNG, JPEG, GIF, BMP, VSD, MPP, VSDX & more files on the fly.
GroupDocs.Search for .NET is a comprehensive search and indexing API that includes the reverse image search functionality to analyze images and perform image-driven searching. Developers can effortlessly integrate image-based reverse lookup features into their existing solutions and provide an avenue for users to find what they need with immaculate accuracy. Additionally, the .NET text search API offers cross-platform compatibility, so your indexing apps can run smoothly on various OS and frameworks. With the API, you can experience hassle-free deployment and a simplified integration process to save valuable development time due to its easy-to-use methods for search data analysis and indexing.
GroupDocs.Metadata for .NET is a feature-rich library for performing advanced text searching and indexing operations on an array of commonly used file formats. The API supports various search query types that developers can use to fetch data accurately. It offers comprehensive index management features to create and merge multiple indexes, among many other great features.
Some of the most popular data file formats are supported by the API for document search and indexing, such as MS Office Word and PDF documents, Excel spreadsheets, PowerPoint presentations, OpenDocument files, diagrams, emails, project files, web, audio, video, RTF, text, images, MarkDown, ZIP archives, and more formats.
Yes, the GitHub examples page of the .NET API includes many coding examples for developers. These code examples help users get up to speed in no time and start searching for data and information among the supported file types.
Yes, we fully understand the sensitivity surrounding the security of your data. Therefore, we ensure the safety and integrity of your data while using GroupDocs.Search for .NET and take all necessary measures to provide you with a secure user experience.
Absolutely! The .NET text search API is compatible with multiple .NET frameworks and runs smoothly on different operating systems. It doesn’t require any third-party software installations, and you can feel confident when using the API to build high-performance document text search and indexing applications.