chengpohi / edql

Elasticsearch Query GUI Client
https://plugins.jetbrains.com/plugin/16364-elasticsearch-query--edql
Apache License 2.0
35 stars 1 forks source link

bad show number with zero #40

Closed mishin closed 5 months ago

mishin commented 5 months ago

I have value "type_id": "302.0", for

    "type_id": {
      "type": "keyword"
    },

    @Field(name = "type_id", type = Keyword)
    private String typeId;

but view only "302"

mishin commented 5 months ago

Screenshot 2024-01-12 at 19 55 52

mishin commented 5 months ago

query

GET publ_post_entity/_search
{
  "query": {
    "bool": {
      "filter": {
        "term": {
          "uref.obj": "302"
        }
      }
    }
  }
}
mishin commented 5 months ago

in json view

"_source": {
          "_class": "ru.nkt.search.service.entity.PublPostEntity",
          "id": "cf217626-37a3-4574-9124-df5ae05e2abe",
          "type_id": "302.0",
          "uref": {
            "obj": 302,
            "uuid": "cf217626-37a3-4574-9124-df5ae05e2abe",
            "asString": "302:cf217626-37a3-4574-9124-df5ae05e2abe",
            "type": "uref"
          },
chengpohi commented 5 months ago

Hi @mishin , got it , I will update the number display format issue in next version: 1.0.5, Thanks your feedback.

chengpohi commented 5 months ago

Hi @mishin please try the latest version: v1.10.5, and also you can download from Jetbrains market v1.10.5

Thanks your feedback, If you meet any issue please let me know.