Skip to content

chore(deps): stop declaring lucene-grouping and lucene-spatial-extras - #48

Merged
marevol merged 1 commit into
mainfrom
chore/drop-unused-lucene-modules
Sep 15, 2026
Merged

marevol merged 1 commit into
mainfrom
chore/drop-unused-lucene-modules

Conversation

@marevol

@marevol marevol commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

After the forked tree was pruned, none of its classes refers to lucene-grouping or lucene-spatial-extras, and no consumer does either — Fess, fess-suggest, fess-crawler-opensearch and the current snapshot jar of every Fess plugin were scanned. They still ship with every Fess distribution: 0.343 MiB.

GeoUtils still imported GeohashPrefixTree and QuadPrefixTree without using them (they do not appear in its bytecode), so those two imports go with the dependencies. The other seven Lucene modules are still referenced and stay.

Verification

  • mvn test: 636 tests, 0 failures, 0 errors.
  • Fess's runtime dependency list, resolved against this build, loses these two modules and nothing else; Fess mvn clean test against it: 7,486 tests, 0 failures, 0 errors.

After the forked tree was pruned, none of its classes refers to either module, and
neither does any consumer. GeoUtils still imported two prefix-tree classes it never
used; those imports go with the dependencies. Consumers such as Fess ship 0.33 MiB
less. The remaining seven Lucene modules are still referenced and stay.
@marevol marevol self-assigned this Sep 15, 2026
@marevol
marevol merged commit 784fa05 into main Sep 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant