I have user's index. Okay.
I wonna get limited list of my index fields. I read documentation and found it.
I use _source query and it doesn't work
{
"_source": {
"includes": [ "is_online"],
"excludes": ["login_phone"]
}
}
I use Fields query and it also doesn't work(
{
"_source": false,
"fields" : ["is_online"]
}
What am I doing wrong?