I want to create an index having many fields with different data types. But i am facing some strange problems lately.
I have an index mapping with fields of data types "double", "integer", "string"; when i try to create an index with these data types, i dont get any error messages but the index is not created in the elastic search.
But when i replace the "string" data type of all the fields with the data type "text", then everything is fine. I can see the mapping of an index (with kibana) and also the index itself.
I want to have fields with data type "text" and "string" in an index.
string isn't a data type in Elasticsearch. You'll need to choose between text and keyword for storing text data. Which one you choose will affect the type of queries you can run against the field.
During pie chart visualization with Terms Aggregation in kibana, only one of two fields of data type "keyword" is shown in the FIELD section of Pie Chart Visualization. Is it possible to show all fields with data type "keyword"?
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.