I’m using solrj to index data, I have created some new field in schema.xml, when I try to index data by java I have to use all new fields, if I don’t use one of this new field I have an exception org.apache.solr.common.solrexception bad request
Can I index Data with fields that I choose?
I’m using solrj to index data, I have created some new field in schema.xml,
Share
Because all of your defined fields in schema.xml has set the attribute “required” as “true”.
Set the attribute to false and the field is not longer necessary for each document.