Skip to content

Incosistency in HybridQuery class description #313

Closed
@paololazzari

Description

@paololazzari

We're generating markdown docs using a Sphinx extension.

I noticed that the .. code-block:: python bit has a leading space. This results in an incorrectly formatted markdown file.

class HybridQuery(AggregationQuery):
"""
HybridQuery combines text and vector search in Redis.
It allows you to perform a hybrid search using both text and vector similarity.
It scores documents based on a weighted combination of text and vector similarity.
.. code-block:: python

compared to the correct:

class TextQuery(BaseQuery):
"""
TextQuery is a query for running a full text search, along with an optional filter expression.
.. code-block:: python

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions