Skip to content

Full text search is not working #1633

@juliamchdo

Description

@juliamchdo

I have this server.json file:

{
"transactions" : [
{
"id": 1,
"description": "Desenvolvimento de site",
"type": "income",
"category": "Venda",
"price": 14000,
"createdAt": "2025-02-14T19:19:17.664Z"
},
{
"id": 2,
"description": "Sushi",
"type": "outcome",
"category": "Alimentação",
"price": 200,
"createdAt": "2025-02-14T20:19:17.664Z"
},
{
"id": 3,
"description": "Ar condicionado",
"type": "outcome",
"category": "Casa",
"price": 3000,
"createdAt": "2025-03-14T10:19:17.664Z"
}
]
}

but when I search for http://localhost:3000/transactions?q=Sushi, it returns all the results, not just the one with 'Sushi' in it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions