Filter is not working with multi _match

Filter is not working for me :frowning: even though i'm having matching record with this search term, The search result shows empty hit. Can anyone please help me out.

 `GET my_index/my_type2/_search
{
"query": {
        "bool": {
            "must": {
                "multi_match": {
                    "query": "sample",
                    "fields": ["Tags"]
                }
            },
            "filter": {
                "term": {
                    "Collection":"collectionTwo"
                }
            }
        }
    }
}`

Could you provide a full recreation script as described in About the Elasticsearch category. It will help to better understand what you are doing. Please, try to keep the example as simple as possible.

A full reproduction script will help readers to understand, reproduce and if needed fix your problem. It will also most likely help to get a faster answer.

Here may be try to filter with collectiontwo instead of collectionTwo

Thanks @dadoonet, You already solved my issue. Its case sensitive problem only. You saved my time thanks a lot and here after i'll post my query with full recreation.

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