mirror of https://github.com/apache/lucene.git
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:
parent
f85a03ffb0
commit
a4910be586
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue