DSL Queries not returning document

HI
From our index few of the document able to access through only like
GET ent/prd/44998290

but when we try to get following ways are not working.

-- based on ids

GET ent/prd/_search
{
"query": {
"ids": {
"values": [44998290]
}
}
}

-- i made sure that PRD_ID is existing in the document from the output we got
-- from first search lite query

-- term filter

GET ent/prd/_search
{
"query": {
"term": {
"PRD_ID":44998290
}
}
}

-- match filter

GET ent/prd/_search
{
"query": {
"match": {
"PRD_ID":44998290
}
}
}

can any one help us to understand this issue. Please.

Thanks
Kalanidhi

Can you show examples of the data too?

Also, please use code formatting to make it easier to read :slight_smile:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.