You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add language attribute to Redis Document Store (#953)
The Redis Document Store now supports text search invarious supported languages. To set a desired language, change the language parameter in the Redis configuration:
Replace newline with whitespace to fix display in plot embeddings (#963)
Whenever the string "\n" was contained in any Document field, doc.plot() would result in a rendering error. This fixes those errors be rendering "\n" as whitespace.
This bug caused all strings of the form 'Infinity' to be coerced to the string 'inf' when calling to_pydantic_model() or to_dict(). This is fixed now, leaving such strings unchanged.
Calculate relevant docs on index instead of queries (#950)
In the embed_and_evaluate() method, the number of relevant Documents per label used to be calculated based on the Document in self. This is not generally correct, so after this fix the quantity is calculated based on the Documents in the index data.
Remove offset index create on list like false (#936)
When a Document Store has list-like behavior disabled, it no longer creates an offset to id mapping, which improves performance.
Loading audio files from a remote URL would cause FileNotFoundError, which is now fixed.
Query operator $exists does not work correctly with tags (#911) (#923)
Before this fix, $exists would treat false-y values such as 0 or [] as non existent. This is now fixed.
Document from dataclass with singleton list (#1018)
When casting from a dataclass to Document, singleton lists were treated like an individual element, even if the corresponding field was annotated with List[...]. Now this case is considered, and accessing such a field will yield a DocumentArray, even for singleton inputs.
Release Note
This release contains 3 new features, 7 bug fixes and 5 documentation improvements.
馃啎 Features
OpenSearch Document Store (#853)
This version of DocArray adds a new Document Store: OpenSearch!
You can use the OpenSearch Document Store to index your Documents and perform ANN search on them:
Additionally, the OpenSearch Document Store can perform filter queries, search by text, and search by tags.
Learn more about its usage in the official documentation.
Add color to point cloud display (#961)
You can now include color information in your point cloud data, which can be visualized using
display_point_cloud_tensor()
:Add language attribute to Redis Document Store (#953)
The Redis Document Store now supports text search in various supported languages. To set a desired language, change the
language
parameter in the Redis configuration:馃悶 Bug Fixes
Replace newline with whitespace to fix display in plot embeddings (#963)
Whenever the string
"\n"
was contained in any Document field,doc.plot()
would result in a rendering error. This fixes those errors be rendering"\n"
as whitespace.Fix unwanted coercion in
to_pydantic_model
(#949)This bug caused all strings of the form
'Infinity'
to be coerced to the string'inf'
when callingto_pydantic_model()
orto_dict()
. This is fixed now, leaving such strings unchanged.Calculate relevant docs on index instead of queries (#950)
In the
embed_and_evaluate()
method, the number of relevant Documents per label used to be calculated based on the Document inself
. This is not generally correct, so after this fix the quantity is calculated based on the Documents in the index data.Remove offset index create on list like false (#936)
When a Document Store has list-like behavior disabled, it no longer creates an offset to id mapping, which improves performance.
Add support for remote audio files (#933)
Loading audio files from a remote URL would cause
FileNotFoundError
, which is now fixed.Query operator
$exists
does not work correctly with tags (#911) (#923)Before this fix,
$exists
would treat false-y values such as0
or[]
as non existent. This is now fixed.Document from dataclass with singleton list (#1018)
When casting from a dataclass to Document, singleton lists were treated like an individual element, even if the corresponding field was annotated with
List[...]
. Now this case is considered, and accessing such a field will yield a DocumentArray, even for singleton inputs.馃摋 Documentation Improvements
馃 Contributors
We would like to thank all contributors to this release:
The text was updated successfully, but these errors were encountered: