RediSearch 2.2 release notes
Search and index JSON documents. Profiling queries. Field aliasing.
Requirements
RediSearch v2.2.10 requires:
- Minimum Redis compatibility version (database): 6.0.0
- Minimum Redis Enterprise Software version (cluster): 6.0.0
v2.2.10 (March 2022)
This is a maintenance release for RediSearch 2.2.
Update urgency: MODERATE
: Program an upgrade of the server, but it's not urgent.
Details:
-
Improvements:
-
Bug fixes:
v2.2.9 (March 2022)
This is a maintenance release for RediSearch 2.2.
Update urgency: MODERATE
: Program an upgrade of the server, but it's not urgent.
Details:
-
Improvements:
-
Bug fixes:
- #2436 When indexing JSON documents, filters cause no documents to be indexed (MOD-2214)
- #2507
QUANTILE
aggregation function outputting wrong values (MOD-2432) - #2521
contains()
with an empty string argument leaves Redis hanging at CPU 100% indefinitely (MOD-2428) - #2560 Free prefix and cursor efficiently for cases with many indices (MOD-2080)
- #2541 Numeric types for
FT.INFO
on coordinator - #2553 Fix union high iterator
- #2404 Update coordination strategy of
FlatSearchCommandHandler
v2.2.7 (February 2022)
This is a maintenance release for RediSearch 2.2.
Update urgency: MODERATE
: Program an upgrade of the server, but it's not urgent.
Details:
-
Bug fixes:
-
Improvements:
- #2469 Add API for TAG children query nodes
v2.2.6 (January 2022)
This is a maintenance release for RediSearch 2.2.
Update urgency: MODERATE
: Program an upgrade of the server, but it's not urgent.
Details:
-
Bug fixes:
-
Improvements:
v2.2.5 (November 2021)
This is the General Availability release of RediSearch 2.2.
Headlines
Searching and indexing JSON documents
This release introduces the ability to index, query, and full-text search JSON documents using JSONPath queries.
On the schema creation FT.CREATE
, it is now possible to map a JSONPath query with a field. When a JSON document is indexed, the value extracted by the JSONPath query is indexed in the given field.
This features require the module RedisJSON 2.0 to be installed.
Profiling queries
With the new FT.PROFILE
command, it is now possible to profile in detail the execution time of several internal steps involved in the execution of FT.SEARCH
and FT.AGGREGATE
.
That way, it is possible to understand which part of the query is taking most of the resources.
Field aliasing
With the support of JSON document indexing, it is now possible to map a JSONPath query to an alias. Therefore, it is possible to index the same value in different indexing attributes with different indexing strategies.
fields
are now known as attributes
in order to avoid confusion with hash fields. This change impacts the FT.INFO
command's response, which might break clients. It is advised to upgrade your application to the latest supported Redis clients prior to upgrading to RediSearch 2.2.Details
-
Enhancements:
- #2337 Add support for Redis COPY command
- #2243 Add
LOAD *
forFT.AGGREGATE
- #2207 Add multi value recursive decent tag
- #2188 Add
UNF
flag forSORTABLE
fields - #2184 LLAPI getter functions for score, language, and stopwords list
- #2133 JSON array can be stored in a TAG field
- #2153 Improve FT.INFO complexity to O(1)
- #2138 Add
CASESENSITIVE
toTAG
fields - #2137
FT.INFO
has identifier and attribute for fields
-
Bug fixes:
Notes: This is the first GA version of 2.2. The version inside Redis will be 2.2.5 in semantic versioning. Since the version of a module in Redis is numeric, we could not add a GA flag.