adding utility function clear() to ModifiableSolrParams

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@548247 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ryan McKinley 2007-06-18 07:39:49 +00:00
parent 92cb5f09ba
commit 1981c7ab29
1 changed files with 6 additions and 0 deletions

View File

@ -109,6 +109,12 @@ public class ModifiableSolrParams extends SolrParams
return vals.remove( name );
}
/** clear all parameters */
public void clear()
{
vals.clear();
}
/**
* remove the given value for the given name
*