Is there any way to use attribute value when searching?

Is there any way to use attribute value when searching?
For example:
{
“id”: “id1”,
“name” : “First”,
“description”: “first description”
}

I want to use “name” attribute value when searching like the following query.
description=(“name” attribute value = “First”)

So the query would be:

description = “First”

because I am using “name” attribute.

Is this possible?