2.6.x release notes
Release notes for Lingo4G 2.6.x.
Version 2.6.0
Lingo4G 2.6.0 comes with support for clustering values of enumerated fields (such as tags or categories). Additionally, the new release adds a number of specialized stages and components and improves the performance of existing stages. Finally, the 2.6.0 release adds support for Java 24.
Compatibility
- Project descriptor
-
Updates not required.
- Reindexing
-
Not required. Lingo4G 2.6.0 works with indices created by Lingo4G 2.5.x.
- Analysis request JSONs
-
Updates may be required. See the analysis API changes for the required changes to your analysis requests.
New features
- Indexing-time label exclusion dictionaries
-
The phrase feature extractor now supports exclusion dictionaries. You can use these dictionaries to prevent indexing of unwanted labels and conserve index disk space.
- New stages and components
-
The 2.6.0 release adds a number of stages and components.
Stage or component Use cases vectors:forDocumentFieldValues
matrix:valueSimilarityFromDocumentSimilaritiesTo compute similarities between indexed fields, such as categories or authors of arXiv papers. You can then use the similarities to cluster and 2d-map those field values.
query:ifTo enable or disable a query clause using a request variable, usually part of
query:composite.labels:directStringsTo provide labels as a string array. The array of label strings can be a request variable.
labels:fromLabelClustersTo collect a diverse set of labels from a set of documents by first clustering the documents, labeling the clusters and then gathering cluster labels. This procedure eliminates uninformative labels that are common to all input documents.
labelFilter:rejectTokensTo filter labels based on individual words in a case-, inflection- and surface form insensitive way.
labelScorer:byVectorsSimilarityTo collect labels that are similar to the set of labels or documents you provide.
documents:fromDocumentNeighborsTo expand a set of documents by collecting and aggregating the neighbors of each document.
values:compositeTo compute intersections and unions of
values.matrixRows:weighted.enabledTo enable or disable a part of a
matrixRows:compositesimilarity using a request variable.
Improvements
- Performance improvements
-
The 2.6.0 speeds up the execution of the
matrixRows:compositeandlabelClusters:documentClusterLabels.
API changes
values:fromDocuments-
Lingo4G 2.6.0 replaces the
values:fromDocumentFieldstage available in previous releases with the more generalvalues:fromDocuments.The new stage delegates the process of value collection to the
valueCollectoryou provide. This enables collection of values from sources other than content fields and filtering of values based onlabelFiltercomponents.If your requests contain the
values:fromDocumentFieldstage, update your analysis requests to use the newvalues:fromDocumentsstage combined with thevalueCollector:fromContentFieldvalue collector.For example, if your current request contains a stage similar to:
{ "stages": { "values": { "type": "values:fromDocumentField", "documents": { "type" : "documents:byQuery", "query": { "type": "query:string", "query": "photon" } }, "multipleValues": "REQUIRE_EXACTLY_ONE", "fieldName": "title" } } }replace it with the equivalent:
{ "stages": { "values": { "type": "values:fromDocuments", "documents": { "type" : "documents:byQuery", "query": { "type": "query:string", "query": "photon" } }, "valueCollector": { "type": "valueCollector:fromContentField", "fieldName": "title" }, "multipleValues": "REQUIRE_EXACTLY_ONE" } } }
Dependency updates
- Java 24 support
-
Lingo4G 2.6.0 adds support for Java 24.