Boost term without any query

Hi
I would like to boost some results when I do a "blank" search, but it doesn't seem to work! I'm trying to do a "blank" search and then add a should match term but setting minimum_should_match = 0. The result doesn't boost my term match and I don't understand why and how to fix it!

Sample:

    {
        "query": {
            "bool": {
                "minimum_should_match": 0,
                "should": [{
                        "term": {
                            "department": {
                                "value": "933",
                                "boost": 60
                            }
                        }
                    }
                ]
            }
        }
    }

Any ideas ?

Best regards
Jens

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