I'm using query_string to search a word on documents on indexes. Now, I wanna continue searching on all fields except a considered field!
what can I do? what feature should I use to handle the query?
The query that search on on fields:
GET siem-referencedata-list-*/_search
{
"query":
{
"bool":
{
"must":
[
{
"bool":
{
"should":
[
{
"query_string":
{
"query": "*list*"
}
}
]
}
}
]
}
}
}
How can ignore searching on a special field (for example id)
Note: because my fields are dynamic, I cant search on specific fields. I have three stable fields that don not want search on them.