AntonShuvaev / elasticsearch4idea

Elasticsearch Plugin for JetBrains IDEs
https://plugins.jetbrains.com/plugin/14512-elasticsearch
59 stars 8 forks source link

Better support for _source and fix filter_path #20

Closed SosthenG closed 3 years ago

SosthenG commented 3 years ago

Hi,

I tried to make a request to only get a few fields of my documents and it seems that the table view always shows all the fields even if we only request a few with the _source parameter (the column are just empty with unset) I tried to limit the fields with the filter_path parameter, it works fine with the text view but with the table view it results with a java.lang.NullPointerException when running the query.

Could it be possible to support limiting the fields to show in the table view?

Thanks!

AntonShuvaev commented 3 years ago

Hi,

I have fixed limiting fields by _source in the table view. It will be available in 0.4.2. filter_path remains unsupported in the table view as it is more difficult.