Registry / other / lucene-join

lucene-join

JSON →
library10.4.0javamavenunverified

Apache Lucene module providing join query capabilities for indexing and searching.

<dependency> <groupId>org.apache.lucene</groupId> <artifactId>lucene-join</artifactId> <version>10.4.0</version> </dependency>
INSTALL
IMPORT
SIG · LUCENE-JOIN
L
lucene-join
otherjavav10.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.

JoinUtil
org.apache.lucene.search.join.JoinUtil

Creates a join query between indexed fields.

import org.apache.lucene.search.join.JoinUtil; import org.apache.lucene.search.Query; import org.apache.lucene.index.Term; public class Quickstart { public static void main(String[] args) throws Exception { Query fromQuery = new TermQuery(new Term("field", "value")); Query joinQuery = JoinUtil.createJoinQuery("fromField", false, "toField", fromQuery, null, null); System.out.println(joinQuery); } }
Debug
Known issues
breakingLucene 10.x has breaking API changes from earlier versions; ensure compatibility with your Lucene version.
fix
Use the same major version for all Lucene modules and check migration guides.
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-join — mvn dependency:get lucene-join · libregistry