org.apache.solr.search.CursorMark Java Examples

The following examples show how to use org.apache.solr.search.CursorMark. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: DeepPagingIterator.java    From SolRDF with Apache License 2.0 5 votes vote down vote up
/**
 * Builds a new iterator with the given data.
 * 
 * @param searcher the Solr index searcher.
 * @param queryCommand the query command that will be submitted.static 
 * @param sort the sort specs.
 * @param consumer the Graph event consumer that will be notified on relevant events.
 */
DeepPagingIterator(
		final SolrIndexSearcher searcher, 
		final SolrIndexSearcher.QueryCommand queryCommand, 
		final SortSpec sort, 
		final GraphEventConsumer consumer) {
	this.searcher = searcher;
	this.queryCommand = queryCommand;
	this.sentCursorMark = new CursorMark(searcher.getSchema(), sort);
	this.queryCommand.setCursorMark(sentCursorMark);
	this.consumer = consumer;
}
 
Example #2
Source File: ResponseBuilder.java    From lucene-solr with Apache License 2.0 4 votes vote down vote up
public CursorMark getCursorMark() {
  return cursorMark;
}
 
Example #3
Source File: ResponseBuilder.java    From lucene-solr with Apache License 2.0 4 votes vote down vote up
public void setCursorMark(CursorMark cursorMark) {
  this.cursorMark = cursorMark;
}
 
Example #4
Source File: ResponseBuilder.java    From lucene-solr with Apache License 2.0 4 votes vote down vote up
public CursorMark getNextCursorMark() {
  return nextCursorMark;
}
 
Example #5
Source File: ResponseBuilder.java    From lucene-solr with Apache License 2.0 4 votes vote down vote up
public void setNextCursorMark(CursorMark nextCursorMark) {
  this.nextCursorMark = nextCursorMark;
}