Class QueryNoticesOptions

All Implemented Interfaces:

public class QueryNoticesOptions
The queryNotices options.
  • Method Details

    • newBuilder

      public QueryNoticesOptions.Builder newBuilder()
      New builder.
      a QueryNoticesOptions builder
    • projectId

      public String projectId()
      Gets the projectId.

      The ID of the project. This information can be found from the deploy page of the Discovery administrative tooling.

      the projectId
    • filter

      public String 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.

      the filter
    • query

      public String 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.

      the query
    • naturalLanguageQuery

      public String naturalLanguageQuery()
      Gets the naturalLanguageQuery.

      A natural language query that returns relevant documents by utilizing training data and natural language understanding.

      the naturalLanguageQuery
    • count

      public Long count()
      Gets the count.

      Number of results to return. The maximum for the **count** and **offset** values together in any one query is **10000**.

      the count
    • offset

      public Long 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**.

      the offset