Searched defs:waitSearcher (Results 1 - 6 of 6) sorted by relevance

/lucene-3.6.0/solr/core/src/java/org/apache/solr/update/
H A DCommitUpdateCommand.java25 public boolean waitSearcher=true; field in class:CommitUpdateCommand
43 +",waitSearcher="+waitSearcher
H A DCommitTracker.java64 private final boolean waitSearcher; field in class:CommitTracker
68 public CommitTracker(String name, SolrCore core, int docsUpperBound, int timeUpperBound, boolean waitSearcher, boolean softCommit) { argument
77 this.waitSearcher = waitSearcher;
186 command.waitSearcher = waitSearcher;
/lucene-3.6.0/solr/solrj/src/java/org/apache/solr/client/solrj/
H A DSolrServer.java149 * waitFlush=true and waitSearcher=true to be inline with the defaults for plain HTTP access
160 * waitFlush=true and waitSearcher=true to be inline with the defaults for plain HTTP access
173 * @param waitSearcher block until a new searcher is opened and registered as the main query searcher, making the changes visible
177 public UpdateResponse commit( boolean waitFlush, boolean waitSearcher ) throws SolrServerException, IOException {
178 return new UpdateRequest().setAction( UpdateRequest.ACTION.COMMIT, waitFlush, waitSearcher ).process( this );
186 * @param waitSearcher block until a new searcher is opened and registered as the main query searcher, making the changes visible
190 public UpdateResponse optimize( boolean waitFlush, boolean waitSearcher ) throws SolrServerException, IOException {
191 return optimize(waitFlush, waitSearcher, 1);
199 * @param waitSearcher block until a new searcher is opened and registered as the main query searcher, making the changes visible
204 public UpdateResponse optimize(boolean waitFlush, boolean waitSearcher, in argument
[all...]
/lucene-3.6.0/solr/solrj/src/java/org/apache/solr/client/solrj/request/
H A DAbstractUpdateRequest.java47 public AbstractUpdateRequest setAction(ACTION action, boolean waitFlush, boolean waitSearcher ) {
48 return setAction(action, waitFlush, waitSearcher, 1);
51 public AbstractUpdateRequest setAction(ACTION action, boolean waitFlush, boolean waitSearcher, int maxSegments ) { argument
63 params.set( UpdateParams.WAIT_SEARCHER, String.valueOf(waitSearcher));
67 public AbstractUpdateRequest setAction(ACTION action, boolean waitFlush, boolean waitSearcher, int maxSegments , boolean expungeDeletes) { argument
68 setAction(action, waitFlush, waitSearcher,maxSegments) ;
129 public void setWaitSearcher(boolean waitSearcher) { argument
130 setParam( UpdateParams.WAIT_SEARCHER, waitSearcher+"" );
H A DUpdateRequest.java138 public UpdateRequest setAction(ACTION action, boolean waitFlush, boolean waitSearcher ) {
139 return setAction(action, waitFlush, waitSearcher, 1);
147 public UpdateRequest setAction(ACTION action, boolean waitFlush, boolean waitSearcher, int maxSegments ) { argument
159 params.set( UpdateParams.WAIT_SEARCHER, waitSearcher+"" );
169 public UpdateRequest setAction(ACTION action, boolean waitFlush, boolean waitSearcher, int maxSegments , boolean expungeDeletes) { argument
170 setAction(action, waitFlush, waitSearcher,maxSegments) ;
/lucene-3.6.0/solr/core/src/java/org/apache/solr/core/
H A DSolrCore.java1006 * If <tt>waitSearcher!=null</tt> and a new {@link SolrIndexSearcher} was created,
1013 * @param waitSearcher if non-null, will be filled in with a {@link Future} that will return after the new searcher is registered.
1016 public RefCounted<SolrIndexSearcher> getSearcher(boolean forceNew, boolean returnSearcher, final Future[] waitSearcher) throws IOException { argument
1236 if (waitSearcher != null) {
1237 waitSearcher[0] = future;
1241 // callers may wait on the waitSearcher future returned.

Completed in 952 milliseconds