# Filter by score in app search is necessary

**URL:** <https://discuss.elastic.co/t/filter-by-score-in-app-search-is-necessary/292260>\
**Category:** Elastic Search\
**Tags:** elastic-app-search\
**Created:** [December 17, 2021, 6:07am UTC](https://discuss.elastic.co/t/filter-by-score-in-app-search-is-necessary/292260 "2021-12-17T06:07:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Diluka](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/diluka/32/36699_2.png) [@Diluka](https://discuss.elastic.co/u/Diluka)\
**Post date:** [December 17, 2021, 6:07am UTC](https://discuss.elastic.co/t/filter-by-score-in-app-search-is-necessary/292260/1 "2021-12-17T06:07:19Z")

</div>

here is an example of low relevance recalls

search options:

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

```

response:

```json
{
    "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

---

<div class="post-metadata">

**Author:** ![ZE\_Share](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ze_share/32/99298_2.png) [@ZE\_Share](https://discuss.elastic.co/u/ZE_Share)\
**Post date:** [December 20, 2021, 7:48am UTC](https://discuss.elastic.co/t/filter-by-score-in-app-search-is-necessary/292260/2 "2021-12-20T07:48:00Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 17, 2022, 7:48am UTC](https://discuss.elastic.co/t/filter-by-score-in-app-search-is-necessary/292260/3 "2022-01-17T07:48:28Z")

</div>

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