elasticsearch return specific fields nodejs code example
Example: elastic get data from specific fields
{
"_source": ["user", "message", ...],
"query": ...,
"size": ...
}
{
"_source": ["user", "message", ...],
"query": ...,
"size": ...
}