Lucene UnifiedHighlighter the highest performing highlighter, especially for large documents. Tutorial to highlight search terms in indexed documents/files.
In this lucene 6 example, we will learn to search indexed documents and highlight searched term in search result using SimpleHTMLFormatter.
In this lucene 6 example , we will learn to create index from text files and then search tokens within indexed documents with respective score of document.
Learn to compile regular expression into java.util.function.Predicate. This can be useful when you want to perform some operation on matched tokens.
Strategy design pattern is behavioral design pattern where we choose a specific implementation of algorithm or task in run time – out of multiple other implementations for same task.
Learn to use Lucene 6 to create, index and search documents using code examples to read, write lucene documents and performing search over them.
JSON.simple is lightweight JSON processing library which can be used to read JSON, write JSON file. Produced JSON will be in full compliance with JSON specification (RFC4627).
Template method design pattern is widely accepted behavioral design pattern to enforce some sort of algorithm (fixed set of steps) in the context of programming. It defines the sequential steps to execute a multi-step algorithm and optionally can provide a default implementation as well (based on requirements). Table of Contents Introduction Problem Statement Solution Code […]
JDOM parser can be used to read XML, parse xml and write XML file after updating content of it. It stores JDOM2 document in memory to read xml values.
AWS (Amazon Web Service) is a cloud computing platform that enables user to access on demand computing services like database storage, virtual cloud server, etc. It works on “pay-as-you-go” model that means – you don’t need to pay upfront for services it offer. You pay for only how much service (mostly bandwidth) you consumed – […]