Comprehensive Document Search & Indexing Solution

Perform text search and indexing on PDF, Microsoft Office, OpenOffice and many other document file formats.

Quickly locate information in large document collections with advanced full-text search capabilities.

Customize search features like synonyms, fuzzy search, and stemming to enhance accuracy and results.

Key Features of GroupDocs.Search

GroupDocs.Search provides powerful tools for indexing and searching text in popular document formats. Simplify and enhance document management with advanced search functionality.

  • Advanced text search

    Perform fast and accurate text searches across indexed documents.

  • Customizable search options

    Utilize features like fuzzy search, synonyms, and stemming for more precise results.

  • Support for multiple formats

    Index and search content in Microsoft Office, PDF, OpenOffice, and other common formats.

  • Efficient indexing

    Quickly build and maintain indexes for large document collections.

Searching text in popular document formats

GroupDocs.Search code examples

Text Search

GroupDocs.Search is a powerful tool for finding text in documents. You can search through multiple documents in various formats stored in a specific folder. The search results are saved in a separate folder, allowing you to access and reuse them without running the search again.
// Create an instance of the Index class, specifying the folder for storing indexes.
Index index = new Index("\\Index Folder");

//Specify the path to the documents where the search will be performed.
index.Add("\\Documents Folder");

//Create an instance of the SearchOptions object.
SearchOptions options = new SearchOptions();

//Perform the search for the desired text.
SearchResult result = index.Search("ipsum dolor", options);

//Handle and process the search results.
if (result.DocumentCount > 0){
    Console.WriteLine("Documents: " + result.DocumentCount);
    for (int i = 0; i < result.DocumentCount; i++)
    {
        FoundDocument document = result.GetFoundDocument(i);
        Console.WriteLine("Document: " + document.DocumentInfo.FilePath);
        Console.WriteLine("Found: " + document.FoundFields.Length);
    }
}
// Create an instance of the Index class, specifying the folder for storing indexes.
Index index = new Index("\\Index Folder");

//Specify the path to the documents where the search will be performed.
index.add("\\Documents Folder");

//Create an instance of the SearchOptions object.
SearchOptions options = new SearchOptions();

//Perform the search for the desired text.
SearchResult result = index.search("ipsum dolor", options);

//Handle and process the search results.
if (result.getDocumentCount() > 0){
    System.out.println("Documents: " + result.getDocumentCount());
    for (int i = 0; i < result.getDocumentCount(); i++)
    {
        FoundDocument document = result.getFoundDocument(i);
        System.out.println("Document: " + document.getDocumentInfo().getFilePath());
        System.out.println("Found: " + document.getFoundFields().length);
    }
}
const searchLib = require('@groupdocs/groupdocs.search');

// Create an instance of the Index class, specifying the folder for storing indexes.
const index = new searchLib.Index('\\Index Folder');

//Specify the path to the documents where the search will be performed.
index.add('\\Documents Folder');

//Create an instance of the SearchOptions object.
const options = new searchLib.SearchOptions();

//Perform the search for the desired text.
const result = index.search('ipsum dolor', options);

//Handle and process the search results.
if (result.getDocumentCount() > 0){
    console.log('Documents: ' + result.getDocumentCount());
    for (int i = 0; i < result.getDocumentCount(); i++)
    {
        const document = result.getFoundDocument(i);
        console.log('Document: ' + document.getDocumentInfo().getFilePath());
        console.log('Found: ' + document.getFoundFields().length);
    }
}

Supports 70+ file formats

GroupDocs.Search supports almost all widely used file formats

Our Product Stats

Discover key metrics showcasing our performance, reach, and growth.

  • 70+

    Supported Formats

    We provide compatibility with over 70 popular document formats.

  • 500k

    NuGet Downloads

    GroupDocs.Search for .NET has been downloaded more than 500,000 times on NuGet.

  • 12k

    Maven Downloads

    Java developers have downloaded GroupDocs.Search over 12,000 times from Maven.

  • 150+

    Satisfied Customers

    Developers and leading businesses worldwide rely on our products for innovative solutions.

Our Happy Customers

GroupDocs libraries are trusted by leading brands and organizations worldwide.

Platform independence

GroupDocs.Search is compatible with the following operating systems and frameworks:

.NET

.NET Framework 4.5 or later
Windows Desktop
Windows Server
Linux
Microsoft Visual Studio
70+ file formats

Java

Java SE 8 (1.8) or later
Windows
Linux
Mac OS
NetBeans
IntelliJ IDEA
Eclipse
70+ file formats

Node.js

Node.js 16+ and J2SE 8.0 (1.8)+
Windows
Linux
Mac OS
Atom
Visual Studio Code
Any other text editor
70+ file formats

Start Your Journey Today!

Experience GroupDocs.Search for free on your preferred platform.

Useful resources

Explore documentation, code samples, and community support to enhance your experience.

Frequently Asked Questions

Find answers to common questions about GroupDocs.Search.

  • Does GroupDocs.Search require external tools for searching documents?
    No, GroupDocs.Search works as a standalone solution and does not need additional tools or software like Adobe Acrobat or Microsoft Office to perform searches.
  • Can I test GroupDocs.Search before purchasing?
    Yes, you can! GroupDocs.Search offers a free trial. You can explore its features, though the trial version may include limitations such as watermarks or restricted functionality. To unlock all features, you can request a free 30-day temporary license. Learn more on the temporary license page.
  • What licensing options are available?
    We provide several licensing models for GroupDocs.Search, tailored to different needs. Choose a license based on your team size, usage scenario, or whether you need the SDK/API for client distribution. For flexible usage, consider a metered license where you pay based on actual usage. Learn more about your options on the pricing page.
 English