Registry / utility / lucene-suggest

lucene-suggest

JSON →
library10.4.0javamavenunverified

Apache Lucene Suggest module provides auto-suggest and spell-checking functionality for search indexes.

<dependency> <groupId>org.apache.lucene</groupId> <artifactId>lucene-suggest</artifactId> <version>10.4.0</version> </dependency>
INSTALL
IMPORT
SIG · LUCENE-SUGGEST
L
lucene-suggest
utilityjavav10.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Lookup
org.apache.lucene.search.suggest.Lookup

Creates an infix suggester for auto-completion.

import org.apache.lucene.search.suggest.Lookup; import org.apache.lucene.search.suggest.analyzing.AnalyzingInfixSuggester; import org.apache.lucene.analysis.standard.StandardAnalyzer; import org.apache.lucene.store.RAMDirectory; public class SuggestExample { public static void main(String[] args) throws Exception { AnalyzingInfixSuggester suggester = new AnalyzingInfixSuggester(new RAMDirectory(), new StandardAnalyzer()); suggester.build(new org.apache.lucene.search.suggest.InputIterator() { // implementation }); System.out.println("Suggester ready"); } }
Debug
Known issues
breakingLucene 10.x uses 'org.apache.lucene' package; older versions used 'org.apache.lucene' but with different module structure. Ensure compatibility.
fix
Use the correct Lucene version and module dependencies; check migration guides for breaking changes.
affects: >=10.0.0
Upgrade
Version history
10.4.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
lucene-suggest — mvn dependency:get lucene-suggest · libregistry