2.5.x release notes

Release notes for Lingo4G 2.5.x.

Version 2.5.0

Release 2.5.0 comes with the following updates:

  • Up to 3x faster learning of label embeddings.

  • New stages and components for working with label and document embedding vectors.

  • New capabilities for content-field similarity computations.

Compatibility

Java version

Lingo4G 2.5.0 requires Java 21 or newer.

Project descriptor

Updates not required.

Reindexing

Required. Lingo4G updates Lucene to version 10, which makes it incompatible with indices created by Lingo4G 2.4.x.

Analysis request JSONs

Updates may be required. See the analysis API changes for the required changes to your analysis requests.

New features

Faster computation of label embeddings

Lingo4G 2.5.0 can use vector CPU instructions (AVX2, Neon) when learning label embeddings. On most modern CPUs, label embedding computation should now be between 2x and 3x faster compared to versions 2.4.x.

Improvements

More varied cluster labels

Version 2.5.0 by default combines two methods to generate cluster labels to balance between shorter and longer cluster labels.

Conditional query builders

Version 2.5.0 introduces the query​Builder:​if and query​Builder:​composite query builders that make it possible to build queries with clauses that you can disable or enable depending on the value of a boolean variable.

Document vector search improvements

Version 2.5.0 reports the progress of similar document vector searches performed in the documents:​embedding​Nearest​Neighbors stage. It also improves the behavior when cancelling the long-running document vector searches.

New components for working with embedding vectors

Lingo4G 2.5.0 adds a number of new stages and components for working with label and document embedding vectors:

Excel export improvements

Lingo4G 2.5.0 improves the compatibility of the Excel export with MacOS Numbers. Additionally, multi-value fields are now separated with a new line within each Excel cell.

Bug fixes

clusters:​with​Remapped​Documents

Lingo4G 2.5.0 fixes a bug where clusters:​with​Remapped​Documents would fail if the input cluster was empty.

Long task summaries

For certain requests, previous Lingo4G versions could create long summaries the processing tasks Lingo4G performed, often reaching hundreds of kilobytes of text. Version 2.5.0 fixes the issue.

API changes

document​Neighbors:​*

Lingo4G 2.5.0 introduces the document​Neighbors components to generalize the process of finding documents similar to one seed document.

As a result, the document​Scorer:​by​Query is now the document​Scorer:​by​Document​Neighbors. To score documents by the results of document-specific queries, use the document​Neighbors:​by​Query component.

value​Collector:​*

Lingo4G 2.5.0 introduces the value​Collector components to generalize the process of collecting values from individual documents.

As a result, the query​Builder​Variable instead of the input and value properties now accepts the values property that specifies the value​Collector to use to fetch the variable's values.

Dependency updates

Lucene 10

Version 2.5.0 uses Lucene 10.x to store the document index.

Java 21

Lingo4G 2.5.0 requires Java 21 or later to run.