Skip to content

Matches display can be very, very long when vector values supplied - truncate it? #1338

@charliehullmoonpig

Description

@charliehullmoonpig

Describe the bug
When doing a vector search we supply 1024 vector values in the query as part of a script_score in OpenSearch. These are returned by the Explain feature, and shown at the right of each result under the text Matches (i). This means you need to scroll down a very long way to see the next results.

Expected behavior
The text in the area below the Matches field is truncated, perhaps to 50-100 characters. You would still be able to access the full query Explain by clicking Matches and opening the Debug popup.

Screenshots
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions