In this Lucene 6 tutorial, we will learn to use RAMDirectory to run quick examples of POCs because it is not intended to work with huge indexes.
In Lucene, WildcardQuery can be used to execute wildcard based searches on lucene indexes. Learn to use WildcardQuery with example.
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 […]