The "rollnumber" field type is text, but it also has a field which is called "raw" and that is a keyword.
So if you want to use the "rollnumber" field for full text search, use it, and if you want to use it within visualizations and aggregations, use "rollnumber.raw", because it is a 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.