Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error regarding field type mismatch in opensearch #11743

Closed
CCTV-six opened this issue Jan 4, 2024 · 2 comments
Closed

Error regarding field type mismatch in opensearch #11743

CCTV-six opened this issue Jan 4, 2024 · 2 comments
Labels
bug Something isn't working Cluster Manager untriaged

Comments

@CCTV-six
Copy link

CCTV-six commented Jan 4, 2024

Describe the bug

Field type mismatch: The field "my_field" is defined as "text" in the index, but a numerical type was used in the query.

Related component

Cluster Manager

To Reproduce

Create index: Use the API or management interface provided by opensearch to create a new index and define the field "my_field" as "text" type.

Import data: Import the data into the index, ensuring that the "my_field" field in the data contains a mixture of text and numerical values.

Execute Query: Attempt to execute query conditions on an index that contain numerical types, such as using range queries or numerical comparison operators.

Expected behavior

Problem of mismatched identification field types

Additional Details

none

@CCTV-six CCTV-six added bug Something isn't working untriaged labels Jan 4, 2024
@mgodwan
Copy link
Member

mgodwan commented Jan 5, 2024

@CCTV-six Thanks for reporting this. Can you share the example query and response observed, and what was the expected response for the example?

@peternied
Copy link
Member

[Triage - attendees 1 2]
@CCTV-six Thanks for creating this issue; however, it isn't being accepted due to not enough detail around the index configuration- such as the index mapping - without these details it is hard to know if this should be addressed or not. Please feel free to re-open after addressing the reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Cluster Manager untriaged
Projects
None yet
Development

No branches or pull requests

3 participants