Class RequiredSolrParams

  • All Implemented Interfaces:
    Serializable, MapSerializable

    public class RequiredSolrParams
    extends SolrParams
    This is a simple wrapper to SolrParams that will throw a 400 exception if you ask for a parameter that does not exist. Fields specified with In short, any value you for from a RequiredSolrParams will return a valid non-null value or throw a 400 exception. (If you pass in null as the default value, you can get a null return value)
    solr 1.2
    See Also:
    Serialized Form