Working with search results consists in obtaining information from objects of search results and highlighting occurrences in the text of documents.
Obtain search result information When a search is complete, the search method returns an object of type SearchResult. This page describes the information available in an object of type SearchResult.
From the root object of the search result, information is available on the number of documents found, the number of occurrences of the words and phrases found, as well as detailed information on each individual document....// Creating an indexIndexindex = new Index ( indexFolder );...); // Indexing documents from the specified folder index . add...
This article gives the knowledge about the fuzzy search definition, and its capabilities in GroupDocs.Search using Java search API....Creating an index in the specified folder const index = new groupdocs...groupdocs . search . Index ( indexFolder ); // Indexing documents from...
Learn how to work with search results using Java and retrieve search results in Java efficiently, optimizing search processes for better performance and accuracy.... From establishing an index repository to setting up fuzzy...results Create an index object using the Index class and specify...
This page contains information about building text search queries of various types. More examples on building search queries are provided on the page...result = index . Search ( query ); // Search in the index Wildcard...ffect" ; SearchResult result = index . Search ( query ); // Search...
This article shows that how spell checking works during the search....an index in the specified folder Indexindex = new Index ( indexFolder...); // Indexing documents from the specified folder index . Add...
This article gives the knowledge that the keyboard layout correction feature can be used when entering search queries, users of your software may make input errors, forgetting to switch the desired keyboard layout using Java search API....an index in the specified folder Indexindex = new Index ( indexFolder...); // Indexing documents from the specified folder index . add...
This article shows how to handle search queries if they contain special characters and separator characters....the text, since it is not indexed. And as a result, words containing...found. Since, in fact, when indexing, these characters break the...
OCR support means the ability to connect an external module (library) for the recognition of printed text (optical character recognition, OCR) on images, either separate or embedded in documents.
To connect OCR, you need to implement the IOcrConnector interface in the client code.
The following example demonstrates how to implement the OCR connector using com.aspose.ocr library for text recognition in images.
const IndexFolder = 'c:/MyIndex/'; const documentsFolder = 'c:/MyDocuments/'; const query = 'Einstein'; // Creating an Index const Index = new groupdocs....Developer Guide / Advanced Usage / Indexing / OCR support OCR support...Creating an index const index = new groupdocs . search . Index ( indexFolder...
This article gives the knowledge that how the document filters used during the search using Java search API....an index in the specified folder Indexindex = new Index ( indexFolder...); // Indexing documents from the specified folder index . add...
This article demonstrates the ability to connect an external module (library) for the recognition of printed text (optical character recognition, OCR) on images, either separate or embedded in documents...Developer Guide / Advanced Usage / Indexing / OCR support OCR support...// Creating an indexIndexindex = new Index ( indexFolder );...