Filter by score in app search is necessary

here is an example of low relevance recalls

search options:

{
            precision: 7,
            page: { size: 2 },
            search_fields: {
                description: {},
            },
            result_fields: {
                description: { snippet: {} },
            },
            group: { field: "vertical", size: 2 },
}

response:

{
    "meta": {
        "alerts": [],
        "warnings": [],
        "precision": 7,
        "page": {
            "current": 1,
            "total_pages": 3,
            "total_results": 5,
            "size": 2
        },
        "engine": {
            "name": "catalog-item",
            "type": "default"
        },
        "request_id": "d2nQJ8CQTEecySBibb2jnw"
    },
    "results": [
        {
            "description": {
                "snippet": null
            },
            "_meta": {
                "engine": "catalog-item",
                "score": 0.23947302,
                "id": "41547"
            },
            "id": {
                "raw": "41547"
            },
            "_group": [],
            "_group_key": "Candles"
        },
        {
            "description": {
                "snippet": null
            },
            "_meta": {
                "engine": "catalog-item",
                "score": 0.19922194,
                "id": "1004860"
            },
            "id": {
                "raw": "1004860"
            },
            "_group": [
                {
                    "description": {
                        "snippet": null
                    },
                    "_meta": {
                        "engine": "catalog-item",
                        "score": 0.19922194,
                        "id": "1004861"
                    },
                    "id": {
                        "raw": "1004861"
                    }
                }
            ],
            "_group_key": "Packaging"
        }
    ]
}

a high precision search recalls very low relevance records with snippet is null and score is lower than 1

1 Like

I also encountered the same problem, the document did not provide a parameter similar to 'min_socore'.

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