public class QueryLogOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
QueryLogOptions.Builder
Builder.
|
Modifier and Type | Method and Description |
---|---|
Long |
count()
Gets the count.
|
String |
filter()
Gets the filter.
|
QueryLogOptions.Builder |
newBuilder()
New builder.
|
Long |
offset()
Gets the offset.
|
String |
query()
Gets the query.
|
List<String> |
sort()
Gets the sort.
|
public QueryLogOptions.Builder newBuilder()
public 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 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 Long count()
Number of results to return. The maximum for the **count** and **offset** values together in any one query is **10000**.
public 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**.
public List<String> sort()
A comma-separated list of fields in the document to sort on. You can optionally specify a sort direction by prefixing the field with `-` for descending or `+` for ascending. Ascending is the default sort direction if no prefix is specified.
Copyright © 2022 IBM Cloud. All rights reserved.