public class QueryNoticesOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
QueryNoticesOptions.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.Long |
count |
protected java.lang.String |
filter |
protected java.lang.String |
naturalLanguageQuery |
protected java.lang.Long |
offset |
protected java.lang.String |
projectId |
protected java.lang.String |
query |
Modifier | Constructor and Description |
---|---|
protected |
QueryNoticesOptions(QueryNoticesOptions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
count()
Gets the count.
|
java.lang.String |
filter()
Gets the filter.
|
java.lang.String |
naturalLanguageQuery()
Gets the naturalLanguageQuery.
|
QueryNoticesOptions.Builder |
newBuilder()
New builder.
|
java.lang.Long |
offset()
Gets the offset.
|
java.lang.String |
projectId()
Gets the projectId.
|
java.lang.String |
query()
Gets the query.
|
protected java.lang.String projectId
protected java.lang.String filter
protected java.lang.String query
protected java.lang.String naturalLanguageQuery
protected java.lang.Long count
protected java.lang.Long offset
protected QueryNoticesOptions(QueryNoticesOptions.Builder builder)
public QueryNoticesOptions.Builder newBuilder()
public java.lang.String projectId()
The ID of the project. This information can be found from the deploy page of the Discovery administrative tooling.
public java.lang.String filter()
A cacheable query that excludes documents that don't mention the query content. Filter searches are better for metadata-type searches and for assessing the concepts in the data set.
public java.lang.String query()
A query search returns all documents in your data set with full enrichments and full text, but with the most relevant documents listed first.
public java.lang.String naturalLanguageQuery()
A natural language query that returns relevant documents by utilizing training data and natural language understanding.
public java.lang.Long count()
Number of results to return. The maximum for the **count** and **offset** values together in any one query is **10000**.
public java.lang.Long offset()
The number of query results to skip at the beginning. For example, if the total number of results that are returned is 10 and the offset is 8, it returns the last two results. The maximum for the **count** and **offset** values together in any one query is **10000**.