I create a scripted fields ,it can be show normally,but can't visualiz.
script code : if(doc['ifSelfShop'].value==1){ return "自营"; }else{return "pop";}
It's can work;
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.