SOLR-904 expose UpdateRequest documents

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@725358 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ryan McKinley 2008-12-10 17:47:41 +00:00
parent f85a03ffb0
commit a4910be586
1 changed files with 4 additions and 0 deletions

View File

@ -240,6 +240,10 @@ public class UpdateRequest extends SolrRequest
// //
//-------------------------------------------------------------------------- //--------------------------------------------------------------------------
public List<SolrInputDocument> getDocuments() {
return documents;
}
public boolean isWaitFlush() { public boolean isWaitFlush() {
return params != null && params.getBool(UpdateParams.WAIT_FLUSH, false); return params != null && params.getBool(UpdateParams.WAIT_FLUSH, false);
} }