Add additional UpdateRequest constructor to allow custom update URLs to be used

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@660509 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Erik Hatcher 2008-05-27 13:35:22 +00:00
parent 04465637a2
commit da6341f0ec
1 changed files with 4 additions and 0 deletions

View File

@ -63,6 +63,10 @@ public class UpdateRequest extends SolrRequest
super( METHOD.POST, "/update" ); super( METHOD.POST, "/update" );
} }
public UpdateRequest(String url) {
super(METHOD.POST, url);
}
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------