public class SearchCollector extends ResourceManager
SearchCollector provides an extension for collecting a set of database documents based on a search. The query options for the search must return results but need not return snippets.
| Modifier and Type | Class and Description |
|---|---|
static class |
SearchCollector.CollectorResults |
| Constructor and Description |
|---|
SearchCollector(DatabaseClient client) |
| Modifier and Type | Method and Description |
|---|---|
SearchCollector.CollectorResults |
collect(String criteria,
long start) |
SearchCollector.CollectorResults |
collect(String criteria,
long start,
String optionsName) |
SearchCollector.CollectorResults |
collect(StructuredQueryDefinition def,
long start) |
long |
getPageLength() |
void |
setPageLength(long pageLength) |
getName, startLogging, stopLoggingpublic static final String NAME
public SearchCollector(DatabaseClient client)
public long getPageLength()
public void setPageLength(long pageLength)
public SearchCollector.CollectorResults collect(String criteria, long start)
public SearchCollector.CollectorResults collect(String criteria, long start, String optionsName)
public SearchCollector.CollectorResults collect(StructuredQueryDefinition def, long start)
Copyright © 2013-2017 MarkLogic Corporation.