Skip to content

[BUG] The results of querying the alias and querying the index in the query workbench are different. #18136

Open
@weily2

Description

@weily2

Describe the bug

When I query the alias in the query workbench, the results are as follows:

Image

The result is not correct

I don‘t know why ,but when i query the index ,the result is correct , the results are as follows:

Image

For comparison, I also queried the content in the discovery page:

Image

Alias info are as follows:

Image

The type of sendTimestamp and receiveTimestamp is long

Image

Image

I think there was a loss of precision when querying the alias.

Related component

Search

To Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

The same result as query the index when query alias.

Additional Details

OpenSearch version: 2.19.1

Metadata

Metadata

Assignees

Labels

SearchSearch query, autocomplete ...etcbugSomething isn't working

Type

No type

Projects

Status

🆕 New

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions