org.apache.solr.common.SolrException: undefined field text
1. open solrconfig.xml
3. under that tag, find
4. change "text" to whatever your entity property that you need it to be indexed
For example, if I have an entity called car, it might have a property called brand and I might want to search within that field. So, in that case it would be convenient for me to change "text" to "brand"