Class QueryCollectionNoticesOptions
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class QueryCollectionNoticesOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QueryCollectionNoticesOptions.Builder
Builder. -
Method Summary
Modifier and Type Method Description String
collectionId()
Gets the collectionId.Long
count()
Gets the count.String
filter()
Gets the filter.String
naturalLanguageQuery()
Gets the naturalLanguageQuery.QueryCollectionNoticesOptions.Builder
newBuilder()
New builder.Long
offset()
Gets the offset.String
projectId()
Gets the projectId.String
query()
Gets the query.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a QueryCollectionNoticesOptions builder
-
projectId
Gets the projectId.The ID of the project. This information can be found from the deploy page of the Discovery administrative tooling.
- Returns:
- the projectId
-
collectionId
Gets the collectionId.The ID of the collection.
- Returns:
- the collectionId
-
filter
Gets the 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.
- Returns:
- the filter
-
query
Gets the 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.
- Returns:
- the query
-
naturalLanguageQuery
Gets the naturalLanguageQuery.A natural language query that returns relevant documents by utilizing training data and natural language understanding.
- Returns:
- the naturalLanguageQuery
-
count
Gets the count.Number of results to return. The maximum for the **count** and **offset** values together in any one query is **10000**.
- Returns:
- the count
-
offset
Gets the 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**.
- Returns:
- the offset
-