Skip to content

[Kibana Dev Tools] Syntax Coloring & keyboard typing impact Issues #232836

@Danouchka

Description

@Danouchka

Kibana version:
ECH 9.1.2

Elasticsearch version:
ECH 9.1.2

Server OS version:

Browser version:
Latest Chrome or latest firefox

Browser OS version:
Version 139.0.7258.139 (Build officiel) (arm64) => latest chrome

Describe the bug:
Coloring issue that never happened before 9.x

Steps to reproduce:

  1. Copy Paste the following
GET adeoproducts7/_search
{
  "size": 10,
  "_source": {
    "exclude_vectors": "true"
  },
  "retriever": {
    "rrf": {
      "query": "Je cherche des vêtements d'été pour la plage",
      "fields": [
        "description",
        "description.semantic_googlvertexai"
      ],
      "rank_constant": 60,
      "rank_window_size": 100
    }  
  },
  "highlight": {
    "fields": {
      "description.semantic_googlvertexai": {
        "number_of_fragments": 2,
        "order": "score"
      }
    }
  }
}


GET adeoproducts7/_search
{
  "size": 10,
  "_source": {
    "exclude_vectors": "true"
  },
  "retriever": {
    "text_similarity_reranker": {
      "retriever": {
        "rrf": {
          "query": "Je cherche des vêtements d'été pour la plage",
          "fields": [
            "description",
            "description.semantic_googlvertexai"
          ],
          "rank_constant": 60,
          "rank_window_size": 100
        }
      },
      "inference_id": "google_vertex_ai_rerank",
      "inference_text": "Je cherche des vêtements d'été pour la plage",
      "field": "description"
    }
  },
  "highlight": {
    "fields": {
      "description.semantic_googlvertexai": {
        "number_of_fragments": 2,
        "order": "score"
      }
    }
  }
}

You can see that "Je cherche des vêtements d'été pour la plage" is not equally colored
This then brings completion issue and some times dev tools freezes

Screenshots (if relevant):

Image

Metadata

Metadata

Assignees

Labels

Feature:Dev ToolsFeature:SearchQuerying infrastructure in KibanaTeam:Kibana ManagementDev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more t//Team:SearchbugFixes for quality problems that affect the customer experienceimpact:mediumAddressing this issue will have a medium level of impact on the quality/strength of our product.papercutSmall "burr" in the product that we should fix.

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions