GroupDocs.Search for .NET

Case-Sensitive Search

GroupDocs.Search for .NET makes it easy to create advanced case-sensitive search queries within your .NET applications.

How to Perform Case-Sensitive Search in PPTX Documents

GroupDocs.Search simplifies case-sensitive search in PPTX documents. Use it to refine results in .NET applications.

  1. Define the folder to store the search index.
  2. Choose the folder containing PPTX files.
  3. Run the search and retrieve results.
  4. Process the results.
// Set the path to the index folder
Index index = new Index("c:/MyIndex");

// Specify the folder containing the documents to search
index.Add("c:/MyDocuments");

// Enable case-sensitive search in options
SearchOptions options = new SearchOptions();
options.UseCaseSensitiveSearch = true;

// Run the search
SearchResult result = index.Search("Lorem", options);
dotnet add package GroupDocs.Search
click to copy
copied
More examples Documentation

Advanced Features for Document Search and Indexing

The GroupDocs.Search for .NET library simplifies text search and indexing across 70+ file formats. Easily locate and manage information with powerful search tools.

Key Features of GroupDocs.Search

Advanced Text Search

Search text across various file formats, including PDFs, Word documents, spreadsheets, and presentations. Use options like exact matches, fuzzy search, and wildcards for precise results.

Index Large Data Sets

Build and maintain indexes for faster searches. Organized indexing simplifies searching extensive collections of documents.

Multi-Language Support

Search across documents in over 80 languages, with support for different keyboard layouts and word forms for more accurate results.

Customizable Search Options

Customize search settings with case sensitivity, date range filters, and the ability to exclude specific words or data during indexing.

Using Case-Sensitive Search Queries

This example shows how to use case-sensitive queries for searching PPTX documents.

C#

// Set the folder for the search index
Index index = new Index("c:/MyIndex");
    
// Specify the path to the documents to be searched
index.Add("c:/MyDocuments");

// Create a search query
SearchQuery wordQuery = SearchQuery.CreateWordQuery("Lorem");

// Enable case-sensitive search options
SearchOptions options = new SearchOptions();
options.UseCaseSensitiveSearch = true;

// Search for text in the documents
SearchResult result = index.Search(wordQuery, options);

// Process the search results
Console.WriteLine("Documents: " + result.DocumentCount);
Console.WriteLine("Occurrences: " + result.OccurrenceCount);
dotnet add package GroupDocs.Search
click to copy
copied
More examples Documentation

What is GroupDocs.Search?

GroupDocs.Search for .NET is a robust library for text search and indexing in documents. It supports over 70 file formats, including PDF, Word, PowePoint, Excel, images, and ZIP files, ensuring efficient handling of large data volumes.
Learn more
About illustration

Ready to get started?

Download GroupDocs.Search for free or get a trial license for full access!

Useful resources

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

Discover Key Features

Explore advanced and efficient search functionalities.

Search Popular Document Formats

GroupDocs.Search supports over 70 file formats. Customize search rules and use indexing to save time and effort.

Temporary license tips

1
Sign up with your work email.
Free mail services are not allowed.
2
Use Get a temporary license button on the second step.
 English