GroupDocs.Search for Java

Case-Sensitive Document Search

GroupDocs.Search for Java allows you to implement precise case-sensitive search functionality in your Java projects.

Guide to Case-Sensitive Search in PPTX Files

Using GroupDocs.Search, you can easily perform case-sensitive searches in PPTX documents, enhancing your Java projects.

  1. Set the folder for storing the search index.
  2. Select the folder containing PPTX files.
  3. Run the case-sensitive search and collect results.
  4. Process and use the search results.
// Define the location for the index storage
Index index = new Index("c:/MyIndex");

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

// Enable case-sensitive mode in the search settings
SearchOptions options = new SearchOptions();
options.setUseCaseSensitiveSearch(true);

// Execute the search
SearchResult result = index.search("Lorem", options);
Maven XML
click to copy
copied
More examples Documentation

Enhanced Search and Indexing Tools

With GroupDocs.Search for Java, you can streamline document search and indexing for more than 70 formats, making it easier to locate and organize information.

Highlights of GroupDocs.Search

Flexible Text Search

Search through documents such as PDFs, Word files, spreadsheets, and presentations with ease. Use tools like exact match, fuzzy search, and wildcard support to refine your results.

Efficient Index Management

Organize and index large datasets to improve search speed and performance when handling big document collections.

Support for Global Languages

Perform searches in more than 80 languages, accommodating different keyboard layouts and linguistic variations for better accuracy.

Customizable Search Filters

Adjust search criteria with options like case sensitivity, date range filtering, and exclusion of unwanted words or data during indexing.

Example: Case-Sensitive Search Queries

This example demonstrates how to implement case-sensitive searches for PPTX documents.

Java

// Define the directory for the search index
Index index = new Index("c:/MyIndex");
    
// Specify the location of the document folder
index.add("c:/MyDocuments");

// Set up a search query
SearchQuery wordQuery = SearchQuery.createWordQuery("Lorem");

// Activate case sensitivity in search options
SearchOptions options = new SearchOptions();
options.setUseCaseSensitiveSearch(true);

// Perform the document search
SearchResult result = index.search(wordQuery, options);

// Process the retrieved results
System.out.println("Documents: " + result.getDocumentCount());
System.out.println("Occurrences: " + result.getDocumentCount());
Maven XML
click to copy
copied
More examples Documentation

Learn About GroupDocs.Search

GroupDocs.Search for Java is a versatile tool for text search and indexing across various documents. It supports over 70 formats like PDFs, Word files, PowePoint presentations, Excel sheets, images, and ZIPs, enabling you to efficiently handle extensive datasets.
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.

Key Features Overview

Discover the robust and effective search capabilities offered by GroupDocs.Search for Java.

Supported File Formats for Searching

GroupDocs.Search works with over 70 popular document formats, offering customizable search settings and efficient indexing.

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