Swiftype filters does not work

The "filters" in swiftype search doesn't take effect at all. I use the following two different url to run the search, nothing works.
{hostaddress}/api/v1/engines/{engineName}/doecument_types/page/search.json
{hostaddress}/api/v1/engines/{engineName}/search

and used the following request:

{
        "auth_token":"token",
        "q": "loan",
        "filters": {
                "_score":{
                    "from": 6,
                    "to": 3.2
                }
        },
        "per_page": 50,
        "page": 1
}

Do we have to turn on some sort of feature or define something in the engine to make filter working?

Thanks in advance for your help.

Hi!

To confirm, are you using Site search on Swiftype?
I'm adding here a reference to our filtering documentation.

Thanks Liran, I have fixed the issue by beautifying the request body. :grinning:

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